diff --git a/polymer/eduke32/build/src/winlayer.c b/polymer/eduke32/build/src/winlayer.c index fb674652c..3b2ea9146 100644 --- a/polymer/eduke32/build/src/winlayer.c +++ b/polymer/eduke32/build/src/winlayer.c @@ -2771,6 +2771,8 @@ static int32_t SetupOpenGL(int32_t width, int32_t height, int32_t bitspp) if (!Bstrcmp(glinfo.vendor,"Microsoft Corporation")) err = 1; else if (!Bstrcmp(glinfo.vendor,"SiS")) err = 1; else if (!Bstrcmp(glinfo.vendor,"3Dfx Interactive Inc.")) err = 1; + else if (!Bstrcmp(glinfo.vendor, "Intel")) + pr_ati_fboworkaround = 1; else { if (!Bstrcmp(glinfo.vendor,"ATI Technologies Inc.")) @@ -2778,7 +2780,6 @@ static int32_t SetupOpenGL(int32_t width, int32_t height, int32_t bitspp) winlayer_have_ATI = 1; #ifdef POLYMER pr_ati_fboworkaround = 1; - initprintf("Enabling ATI FBO color attachment workaround.\n"); #endif if (Bstrstr(glinfo.renderer,"Radeon X1")) { @@ -2799,6 +2800,9 @@ static int32_t SetupOpenGL(int32_t width, int32_t height, int32_t bitspp) #endif } + if (pr_ati_fboworkaround) + initprintf("Enabling Intel/ATI FBO color attachment workaround.\n"); + if (!forcegl && err) { OSD_Printf("Unsupported OpenGL driver detected. GL modes will be unavailable. Use -forcegl to override.\n");