mojoshader_opengl.c
changeset 501 314aa5c32820
parent 465 0a75f98f785b
child 533 177b9242d08a
equal deleted inserted replaced
500:38ce929323c2 501:314aa5c32820
   794     // If running on Mac OS X <= 10.4, don't ever pick GLSL, even if
   794     // If running on Mac OS X <= 10.4, don't ever pick GLSL, even if
   795     //  the system claims it is available.
   795     //  the system claims it is available.
   796     #if PLATFORM_MACOSX
   796     #if PLATFORM_MACOSX
   797     const int allow_glsl = macosx_version_atleast(10, 5, 0);
   797     const int allow_glsl = macosx_version_atleast(10, 5, 0);
   798     #else
   798     #else
   799     const int allow_glsl = 0;
   799     const int allow_glsl = 1;
   800     #endif
   800     #endif
   801 
   801 
   802     if (!ctx->have_base_opengl)
   802     if (!ctx->have_base_opengl)
   803         return 0;
   803         return 0;
   804 
   804