mesa: Rename API_OPENGL to API_OPENGL_COMPAT.
This should help avoid confusion now that we're using the gl_api enum to distinguishing between core and compatibility API's. The corresponding enum value for core API's is API_OPENGL_CORE. Acked-by: Eric Anholt <eric@anholt.net> Acked-by: Matt Turner <mattst88@gmail.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
+1
-1
@@ -223,7 +223,7 @@ main(int argc, char **argv)
|
||||
if (argc <= optind)
|
||||
usage_fail(argv[0]);
|
||||
|
||||
initialize_context(ctx, (glsl_es) ? API_OPENGLES2 : API_OPENGL);
|
||||
initialize_context(ctx, (glsl_es) ? API_OPENGLES2 : API_OPENGL_COMPAT);
|
||||
|
||||
struct gl_shader_program *whole_program;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user