diff options
author | Michal Krol <[email protected]> | 2010-02-10 18:04:07 +0100 |
---|---|---|
committer | Michal Krol <[email protected]> | 2010-02-10 18:04:07 +0100 |
commit | 8b1c332a77555b94f5665517e5fdcb416e1a67b7 (patch) | |
tree | ca8a42e51ab93b99d389e39237bdd4031a7bc4a5 /src/glsl/apps/process.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/process.c')
-rw-r--r-- | src/glsl/apps/process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/apps/process.c b/src/glsl/apps/process.c index 569890210f2..2d2ab911ac4 100644 --- a/src/glsl/apps/process.c +++ b/src/glsl/apps/process.c @@ -106,8 +106,8 @@ main(int argc, return -1; } - 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)); |