summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/glide/fxwgl.c
diff options
context:
space:
mode:
authorDaniel Borca <[email protected]>2004-04-26 14:23:33 +0000
committerDaniel Borca <[email protected]>2004-04-26 14:23:33 +0000
commit5be4c27b28e141506578008a176f41bc1a15fa75 (patch)
tree1119ae4d966fe5e3918167869167bdd24863b390 /src/mesa/drivers/glide/fxwgl.c
parent18514500c47ce8f30bb9cc93ab48bf55ccdb9873 (diff)
accomodate newtexstore
fixed wgl interface for fxMesa
Diffstat (limited to 'src/mesa/drivers/glide/fxwgl.c')
-rw-r--r--src/mesa/drivers/glide/fxwgl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/glide/fxwgl.c b/src/mesa/drivers/glide/fxwgl.c
index 3a581ef66a2..b87f60282ce 100644
--- a/src/mesa/drivers/glide/fxwgl.c
+++ b/src/mesa/drivers/glide/fxwgl.c
@@ -815,7 +815,7 @@ wglDescribePixelFormat(HDC hdc, int iPixelFormat, UINT nBytes,
if (iPixelFormat < 1 || iPixelFormat > qt_valid_pix ||
((nBytes != sizeof(PIXELFORMATDESCRIPTOR)) && (nBytes != 0))) {
SetLastError(0);
- return (0);
+ return (qt_valid_pix);
}
if (nBytes != 0)