Rename parameter with typo

While reading through render.c I noticed a small typo in one of the parameter names. I assume that udaa was intended to be udata. Since the parameter is not actually used in transform_smooth at present, I have renamed it to _ as done in some of the other transform functions.
This commit is contained in:
Jordan Cannon
2019-04-22 23:43:04 -05:00
committed by GitHub
parent 26d36170de
commit 8259d8bb74

View File

@@ -618,7 +618,7 @@ static struct gl_bind_src bind_sources[] = {
#define E 2.7182818284590452353 #define E 2.7182818284590452353
void transform_smooth(struct gl_data* d, void** udaa, void* data) { void transform_smooth(struct gl_data* d, void** _, void* data) {
struct gl_sampler_data* s = (struct gl_sampler_data*) data; struct gl_sampler_data* s = (struct gl_sampler_data*) data;
float* b = s->buf; float* b = s->buf;
size_t size_t