Browse Source

fixed clear on transparent texture (close #859)

Nicolas Cannasse 5 years ago
parent
commit
d4f4a261ad
1 changed files with 1 additions and 1 deletions
  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.