]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix a stupid reverse bug (was using ! where I shouldn't)
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 26 Jan 2005 03:39:45 +0000 (03:39 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 26 Jan 2005 03:39:45 +0000 (03:39 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4968 d7cf8633-e32d-0410-b094-e92efae38249

gl_backend.c

index 9d6c66dc1d362c00d0aa766c90524b7343c567b1..77269a947bab97c9cd7f66bfd825eab7d4ffe8cf 100644 (file)
@@ -840,7 +840,7 @@ unsigned int GL_Backend_CompileProgram(int vertexstrings_count, const char **ver
                // ATI R300 chip (Radeon 9500-9800/X300) is the most likely to use a
                // software fragment shader due to low instruction and dependent
                // texture limits.
-               if (!strstr(compilelog, "fragment shader will run in software"))
+               if (strstr(compilelog, "fragment shader will run in software"))
                        programlinked = false;
        }
        CHECKGLERROR