From 5be4c27b28e141506578008a176f41bc1a15fa75 Mon Sep 17 00:00:00 2001 From: Daniel Borca Date: Mon, 26 Apr 2004 14:23:33 +0000 Subject: accomodate newtexstore fixed wgl interface for fxMesa --- src/mesa/drivers/glide/fxwgl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers/glide/fxwgl.c') diff --git a/src/mesa/drivers/glide/fxwgl.c b/src/mesa/drivers/glide/fxwgl.c index 3a581ef66a..b87f60282c 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) -- cgit v1.2.3