diff options
author | Michal Krol <michal@vmware.com> | 2010-02-10 18:04:07 +0100 |
---|---|---|
committer | Michal Krol <michal@vmware.com> | 2010-02-10 18:04:07 +0100 |
commit | 8b1c332a77555b94f5665517e5fdcb416e1a67b7 (patch) | |
tree | ca8a42e51ab93b99d389e39237bdd4031a7bc4a5 /src/glsl/apps/compile.c | |
parent | c1395a71ac5f279edca933a325e32e1512e0046b (diff) |
Simplify GLSL extension mechanism.
Since extension name and extension name string are the same, collapse
them into one name.
Diffstat (limited to 'src/glsl/apps/compile.c')
-rw-r--r-- | src/glsl/apps/compile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/apps/compile.c b/src/glsl/apps/compile.c index c9a830b9f3..3b3c083c2e 100644 --- a/src/glsl/apps/compile.c +++ b/src/glsl/apps/compile.c @@ -134,8 +134,8 @@ main(int argc, return 0; } - if (sl_pp_context_add_extension(context, "ARB_draw_buffers", "GL_ARB_draw_buffers") || - sl_pp_context_add_extension(context, "ARB_texture_rectangle", "GL_ARB_texture_rectangle")) { + if (sl_pp_context_add_extension(context, "GL_ARB_draw_buffers") || + sl_pp_context_add_extension(context, "GL_ARB_texture_rectangle")) { fprintf(out, "$ERROR: `%s'\n", sl_pp_context_error_message(context)); printf("Error: %s\n", sl_pp_context_error_message(context)); |