summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/glide/fxwgl.c
diff options
context:
space:
mode:
authorDaniel Borca <[email protected]>2004-06-03 07:14:27 +0000
committerDaniel Borca <[email protected]>2004-06-03 07:14:27 +0000
commit93c91c3863737808ceca6f17e3bc61114bca2eeb (patch)
treedc85d3f1f10d3ede910f30f062dc8d40223a182f /src/mesa/drivers/glide/fxwgl.c
parent8f980b0e748f7c5a49e75c00ef4fa0b077d78197 (diff)
masked out unsupported glBlendColor (some games check only the proc addr)
Diffstat (limited to 'src/mesa/drivers/glide/fxwgl.c')
-rw-r--r--src/mesa/drivers/glide/fxwgl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/glide/fxwgl.c b/src/mesa/drivers/glide/fxwgl.c
index cb098fa2ef4..0b0197d3ecc 100644
--- a/src/mesa/drivers/glide/fxwgl.c
+++ b/src/mesa/drivers/glide/fxwgl.c
@@ -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++) {