summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 61e1d8794a6..b30d5523623 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -829,7 +829,7 @@ delete_texture_cb(GLuint id, void *data, void *userData)
static void
delete_program_cb(GLuint id, void *data, void *userData)
{
- struct program *prog = (struct program *) data;
+ struct gl_program *prog = (struct gl_program *) data;
GLcontext *ctx = (GLcontext *) userData;
ctx->Driver.DeleteProgram(ctx, prog);
}