]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_backend.c
Clean up GL extensions a bit to only have the stuff the engine actually uses.
[xonotic/darkplaces.git] / gl_backend.c
index 691f6eeb20703ab7aba01cc70a61b5193f70da89..fcaeeb2d1d6f5fd7f4e6c5088f8cf8003997a2a6 100644 (file)
@@ -1655,8 +1655,7 @@ unsigned int GL_Backend_CompileProgram(int vertexstrings_count, const char **ver
        qglBindAttribLocation(programobject, GLSLATTRIB_TEXCOORD6, "Attrib_SkeletalIndex");
        qglBindAttribLocation(programobject, GLSLATTRIB_TEXCOORD7, "Attrib_SkeletalWeight");
 #ifndef USE_GLES2
-       if(vid.support.gl20shaders130)
-               qglBindFragDataLocation(programobject, 0, "dp_FragColor");
+       qglBindFragDataLocation(programobject, 0, "dp_FragColor");
 #endif
        CHECKGLERROR