]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - shader_glsl.h
fix a pile of issues with calling conventions on GLES2 platforms by
[xonotic/darkplaces.git] / shader_glsl.h
index dda544bec3c47760e1878f99e7b0d6cd959b3d46..d4ce8a1535b91109e69b331736d63394f263d6e4 100644 (file)
 "#endif\n"
 "}\n"
 "#endif\n"
+"\n"
+"#ifdef FRAGMENT_SHADER\n"
+"void main(void)\n"
+"{\n"
+"      dp_FragColor = vec4(1.0,1.0,1.0,1.0);\n"
+"}\n"
+"#endif\n"
 "#else // !MODE_DEPTH_ORSHADOW\n"
 "\n"
 "\n"