diff options
author | Marek Olšák <marek.olsak@amd.com> | 2015-05-28 18:14:29 +0200 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2015-06-05 19:44:32 +0200 |
commit | 4312b4f5704ddd88e27b3bf2c17eaf054567f067 (patch) | |
tree | 103a837060c706cb4459a19d9fd96400d617814f /src/mesa/main/state.c | |
parent | 3b2721ce1145cc60bf35e41e9f50a92849142a06 (diff) |
mesa: use GL_GEOMETRY_PROGRAM_NV instead of MESA_GEOMETRY_PROGRAM
There's no reason to use our own definition.
Tessellation will use the NV definitions too.
Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/mesa/main/state.c')
-rw-r--r-- | src/mesa/main/state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c index 2657c532f88..5b970081a3f 100644 --- a/src/mesa/main/state.c +++ b/src/mesa/main/state.c @@ -225,7 +225,7 @@ update_program(struct gl_context *ctx) if (ctx->GeometryProgram._Current != prevGP) { new_state |= _NEW_PROGRAM; if (ctx->Driver.BindProgram) { - ctx->Driver.BindProgram(ctx, MESA_GEOMETRY_PROGRAM, + ctx->Driver.BindProgram(ctx, GL_GEOMETRY_PROGRAM_NV, (struct gl_program *) ctx->GeometryProgram._Current); } } |