Explorar o código

enable some extra features for mesa

Nicolas Cannasse %!s(int64=5) %!d(string=hai) anos
pai
achega
0bc1a215df
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      h3d/impl/GlDriver.hx

+ 5 - 0
h3d/impl/GlDriver.hx

@@ -203,6 +203,11 @@ class GlDriver extends Driver {
 		maxCompressedTexturesSupport = 3;
 		#end
 
+		#if hlmesa
+		hasMultiIndirect = true;
+		maxCompressedTexturesSupport = 3;
+		#end
+
 		var v : String = gl.getParameter(GL.VERSION);
 		var reg = ~/ES ([0-9]+\.[0-9]+)/;
 		if( reg.match(v) )