diff options
author | Brian <[email protected]> | 2007-04-18 14:53:23 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-04-18 14:53:23 -0600 |
commit | f3e8c32376d8bdf1c48a0a2ad97eddcde7fc2f00 (patch) | |
tree | d9abc14e8042ee68cce23184f5cae7a3f0e22c55 /src/mesa/main | |
parent | 6d3d9c1c6de33646b63d47892863939ee1b1e624 (diff) |
s/GL_SHADER_PROGRAM/GL_SHADER_PROGRAM_MESA/ (a Mesa-specific token)
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/context.c | 2 | ||||
-rw-r--r-- | src/mesa/main/mtypes.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 93442b91aaa..9dc7b11e361 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -629,7 +629,7 @@ delete_shader_cb(GLuint id, void *data, void *userData) } else { struct gl_shader_program *shProg = (struct gl_shader_program *) data; - ASSERT(shProg->Type == GL_SHADER_PROGRAM); + ASSERT(shProg->Type == GL_SHADER_PROGRAM_MESA); _mesa_free_shader_program(ctx, shProg); } } diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 89cdc790897..0044494bd3c 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -47,7 +47,7 @@ /** * Special, internal token */ -#define GL_SHADER_PROGRAM 0x9999 +#define GL_SHADER_PROGRAM_MESA 0x9999 /** |