Przeglądaj źródła

allow queries support in webgl

Nicolas Cannasse 4 lat temu
rodzic
commit
d9de692a06
1 zmienionych plików z 0 dodań i 4 usunięć
  1. 0 4
      h3d/impl/GlDriver.hx

+ 0 - 4
h3d/impl/GlDriver.hx

@@ -1714,8 +1714,6 @@ class GlDriver extends Driver {
 		#end
 	}
 
-	#if hl
-
 	override function allocQuery(kind:QueryKind) {
 		return { q : GL.createQuery(), kind : kind };
 	}
@@ -1765,8 +1763,6 @@ class GlDriver extends Driver {
 		}
 	}
 
-	#end
-
 	static var TFILTERS = [
 		[[GL.NEAREST,GL.NEAREST],[GL.LINEAR,GL.LINEAR]],
 		[[GL.NEAREST,GL.NEAREST_MIPMAP_NEAREST],[GL.LINEAR,GL.LINEAR_MIPMAP_NEAREST]],