[D3D 55] Added some blending states

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

 



Changelog:
  Added some blend states

-- 
		 Lionel Ulmer - http://www.bbrox.org/
--- /home/ulmer/Wine/wine_base//dlls/ddraw/mesa.c	2002-12-27 09:51:26.000000000 +0100
+++ /home/ulmer/Wine/wine_work//dlls/ddraw/mesa.c	2002-12-27 09:59:04.000000000 +0100
@@ -221,6 +221,17 @@
 		    case D3DBLEND_INVDESTCOLOR:
 		          rs->src = GL_ONE_MINUS_DST_COLOR;
 			  break;
+		    case D3DBLEND_BOTHSRCALPHA:
+		          rs->src = GL_SRC_ALPHA;
+			  rs->dst = GL_SRC_ALPHA;
+			  break;
+		    case D3DBLEND_BOTHINVSRCALPHA:
+		          rs->src = GL_ONE_MINUS_SRC_ALPHA;
+			  rs->dst = GL_ONE_MINUS_SRC_ALPHA;
+			  break;
+		    case D3DBLEND_SRCALPHASAT:
+		          rs->src = GL_SRC_ALPHA_SATURATE;
+			  break;
 		    case D3DBLEND_SRCCOLOR:
 		    case D3DBLEND_INVSRCCOLOR:
 		          /* Cannot be supported with OpenGL */

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

  Powered by Linux