diff options
author | Oliver McFadden <[email protected]> | 2012-09-11 10:56:33 +0300 |
---|---|---|
committer | Oliver McFadden <[email protected]> | 2012-09-15 12:57:38 +0300 |
commit | e8a72d8282d1be401825f4c2c32544b01e2e56bc (patch) | |
tree | 8ebce55050680932b464ab4b6de4d208a78f74ce /src/mesa/main/shared.c | |
parent | b7d15977f66bb3de9c475e3138c56ab1d4151382 (diff) |
mesa: remove FEATURE_ARB_(fragment|vertex)_program defines.
Signed-off-by: Oliver McFadden <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/shared.c')
-rw-r--r-- | src/mesa/main/shared.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mesa/main/shared.c b/src/mesa/main/shared.c index d1443e97baa..e4bb83010ac 100644 --- a/src/mesa/main/shared.c +++ b/src/mesa/main/shared.c @@ -70,17 +70,12 @@ _mesa_alloc_shared_state(struct gl_context *ctx) shared->TexObjects = _mesa_NewHashTable(); shared->Programs = _mesa_NewHashTable(); -#if FEATURE_ARB_vertex_program shared->DefaultVertexProgram = gl_vertex_program(ctx->Driver.NewProgram(ctx, GL_VERTEX_PROGRAM_ARB, 0)); -#endif - -#if FEATURE_ARB_fragment_program shared->DefaultFragmentProgram = gl_fragment_program(ctx->Driver.NewProgram(ctx, GL_FRAGMENT_PROGRAM_ARB, 0)); -#endif #if FEATURE_ATI_fragment_shader shared->ATIShaders = _mesa_NewHashTable(); @@ -324,13 +319,8 @@ free_shared_state(struct gl_context *ctx, struct gl_shared_state *shared) _mesa_HashDeleteAll(shared->Programs, delete_program_cb, ctx); _mesa_DeleteHashTable(shared->Programs); -#if FEATURE_ARB_vertex_program _mesa_reference_vertprog(ctx, &shared->DefaultVertexProgram, NULL); -#endif - -#if FEATURE_ARB_fragment_program _mesa_reference_fragprog(ctx, &shared->DefaultFragmentProgram, NULL); -#endif #if FEATURE_ATI_fragment_shader _mesa_HashDeleteAll(shared->ATIShaders, delete_fragshader_cb, ctx); |