dlls/ddraw/mesa.c add D3DTBLEND_DECAL render state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add the D3DTBLEND_DECAL render state.

-- 
Yorick Hardy

--- dlls/ddraw/mesa.c	Sat May 24 10:55:36 2003
+++ dlls/ddraw/mesa.c	Sat May 24 10:56:27 2003
@@ -253,6 +253,9 @@
 
 	    case D3DRENDERSTATE_TEXTUREMAPBLEND:    /* 21 */
 	        switch ((D3DTEXTUREBLEND) dwRenderState) {
+		    case D3DTBLEND_DECAL:
+		        glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_DECAL);
+			break;
 		    case D3DTBLEND_MODULATE:
 		    case D3DTBLEND_MODULATEALPHA:
 		        glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE);


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux