From 44ab4b6ca13732d78e8b2e6d30bf1cf86661d9d9 Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 12 Mar 2011 16:37:45 +0000 Subject: [PATCH] Disable texture compression when ATI's horrible OpenGL implementation is detected git-svn-id: https://svn.eduke32.com/eduke32@1841 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/src/winlayer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/build/src/winlayer.c b/polymer/eduke32/build/src/winlayer.c index 4bb5d6f3d..5639d623f 100644 --- a/polymer/eduke32/build/src/winlayer.c +++ b/polymer/eduke32/build/src/winlayer.c @@ -2902,7 +2902,7 @@ static int32_t SetupOpenGL(int32_t width, int32_t height, int32_t bitspp) // support bgra textures glinfo.bgra = 1; } - else if (!Bstrcmp((char *)p2, "GL_ARB_texture_compression")) + else if (!Bstrcmp((char *)p2, "GL_ARB_texture_compression") && Bstrcmp(glinfo.vendor,"ATI Technologies Inc.")) { // support texture compression glinfo.texcompr = 1;