diff options
author | Daniel Borca <[email protected]> | 2004-04-26 14:23:33 +0000 |
---|---|---|
committer | Daniel Borca <[email protected]> | 2004-04-26 14:23:33 +0000 |
commit | 5be4c27b28e141506578008a176f41bc1a15fa75 (patch) | |
tree | 1119ae4d966fe5e3918167869167bdd24863b390 /src/mesa/drivers/glide/fxwgl.c | |
parent | 18514500c47ce8f30bb9cc93ab48bf55ccdb9873 (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.c | 2 |
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) |