瀏覽代碼

allow queries support in webgl

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