]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - shader_glsl.h
define GLSL version explicitly to work around a problem with ATI/AMD drivers not...
[xonotic/darkplaces.git] / shader_glsl.h
index 0801e6d711a749c0420e31c42baa732c8c9bb75f..515556aebe6b8e8f73b4222ccf9fdfcc3ab34ee3 100644 (file)
@@ -9,7 +9,7 @@
 "#define highp\n"
 "#endif\n"
 "\n"
-"#if __VERSION__ >= 130\n"
+"#ifdef GLSL130\n"
 "# ifdef VERTEX_SHADER\n"
 "#  define dp_varying out\n"
 "#  define dp_attribute in\n"