瀏覽代碼

reverted query changes (not supported)

Nicolas Cannasse 4 年之前
父節點
當前提交
437fb23aa8
共有 1 個文件被更改,包括 4 次插入0 次删除
  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]],