Explorar el Código

fixed clear on transparent texture (close #859)

Nicolas Cannasse hace 5 años
padre
commit
d4f4a261ad
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      h3d/impl/GlDriver.hx

+ 1 - 1
h3d/impl/GlDriver.hx

@@ -170,7 +170,7 @@ class GlDriver extends Driver {
 
 	var drawMode : Int;
 
-	static var BLACK = new h3d.Vector();
+	static var BLACK = new h3d.Vector(0,0,0,0);
 
 	/**
 		Perform OUT_OF_MEMORY checks when allocating textures/buffers.