Sfoglia il codice sorgente

enable some extra features for mesa

Nicolas Cannasse 5 anni fa
parent
commit
0bc1a215df
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  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) )