From 8b1c332a77555b94f5665517e5fdcb416e1a67b7 Mon Sep 17 00:00:00 2001 From: Michal Krol Date: Wed, 10 Feb 2010 18:04:07 +0100 Subject: Simplify GLSL extension mechanism. Since extension name and extension name string are the same, collapse them into one name. --- src/glsl/apps/compile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/glsl/apps/compile.c') 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)); -- cgit v1.2.3