[D3D 45] Fix in failure case

Lionel Ulmer lionel.ulmer at free.fr
Tue Dec 24 12:30:52 CST 2002


Changelog:
 Prevent lock-up in paletted texture with no palette case

-- 
		 Lionel Ulmer - http://www.bbrox.org/
-------------- next part --------------
--- /home/ulmer/Wine/wine_base//dlls/ddraw/d3dtexture.c	2002-12-24 15:48:07.000000000 +0100
+++ /home/ulmer/Wine/wine_work//dlls/ddraw/d3dtexture.c	2002-12-24 17:17:35.000000000 +0100
@@ -174,7 +174,6 @@
 	
 	if (pal == NULL) {
 	    ERR("Palettized texture Loading with a NULL palette !\n");
-	    LEAVE_GL();
 	    return;
 	}
 	/* Get the surface's palette */


More information about the wine-patches mailing list