Browse Source

reverted query changes (not supported)

Nicolas Cannasse 4 years ago
parent
commit
437fb23aa8
1 changed files with 4 additions and 0 deletions
  1. 4 0
      h3d/impl/GlDriver.hx

+ 4 - 0
h3d/impl/GlDriver.hx

@@ -1714,6 +1714,8 @@ class GlDriver extends Driver {
 		#end
 	}
 
+	#if hl
+
 	override function allocQuery(kind:QueryKind) {
 		return { q : GL.createQuery(), kind : kind };
 	}
@@ -1763,6 +1765,8 @@ 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]],