소스 검색

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