]> git.sesse.net Git - movit/blobdiff - init.h
Add a hack to use #version 110 but keep using 130 features, for the benefit of OS X.
[movit] / init.h
diff --git a/init.h b/init.h
index 7e1e13028b35bd6a0069c45828df88f7133b535f..89e3ef70c6b538494b218339995e891b0aa712ce 100644 (file)
--- a/init.h
+++ b/init.h
@@ -73,7 +73,7 @@ extern bool movit_timer_queries_supported;
 // What shader model we are compiling for. This only affects the choice
 // of a few files (like header.frag); most of the shaders are the same.
 enum MovitShaderModel {
-       MOVIT_GLSL_110,  // No longer in use, but kept until next ABI break in order not to change the enums.
+       MOVIT_GLSL_130_AS_110,  // Use 1.30 features freely, but use #version 110.
        MOVIT_GLSL_130,
        MOVIT_ESSL_300,
        MOVIT_GLSL_150,