From dbd6135bc1ba285128ab991c03c4df6fbd6fefe8 Mon Sep 17 00:00:00 2001 From: Paul Berry Date: Tue, 27 Nov 2012 12:26:51 -0800 Subject: 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 Acked-by: Matt Turner Acked-by: Kenneth Graunke --- src/glsl/glcpp/glcpp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/glsl/glcpp/glcpp.c') diff --git a/src/glsl/glcpp/glcpp.c b/src/glsl/glcpp/glcpp.c index 35db4708781..7c2ded850bd 100644 --- a/src/glsl/glcpp/glcpp.c +++ b/src/glsl/glcpp/glcpp.c @@ -111,7 +111,7 @@ main (int argc, char *argv[]) if (shader == NULL) return 1; - ret = glcpp_preprocess(ctx, &shader, &info_log, NULL, API_OPENGL); + ret = glcpp_preprocess(ctx, &shader, &info_log, NULL, API_OPENGL_COMPAT); printf("%s", shader); fprintf(stderr, "%s", info_log); -- cgit v1.2.3