masked out unsupported glBlendColor (some games check only the proc addr)
[mesa.git] / src / mesa / drivers / glide / fxwgl.c
index cb098fa2ef41e49c8bd5471f56948d2d3c7a8837..0b0197d3ecc329dfb1207f3335b09dd272d1a491 100644 (file)
@@ -510,7 +510,8 @@ wglGetProcAddress(LPCSTR lpszProc)
    int i;
    PROC p = (PROC) _glapi_get_proc_address((const char *) lpszProc);
 
-   if (p)
+   /* [dBorca] we can't do BlendColor... yet */
+   if (p && strcmp(lpszProc, "glBlendColor") && strcmp(lpszProc, "glBlendColorEXT"))
       return p;
 
    for (i = 0; wgl_ext[i].name; i++) {