瀏覽代碼

GL: add query TIME_ELAPSED

Yuxiao Mao 2 月之前
父節點
當前提交
9c8ed392bd
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      libs/mesa/mesa/GL.hx
  2. 1 0
      libs/sdl/sdl/GL.hx

+ 1 - 0
libs/mesa/mesa/GL.hx

@@ -947,6 +947,7 @@ class GL {
 	/* Queries */
 	public static inline var SAMPLES_PASSED                 = 0x8914;
 	public static inline var TIMESTAMP                      = 0x8E28;
+	public static inline var TIME_ELAPSED                   = 0x88BF;
 
 	/* Barriers */
 	public static inline var VERTEX_ATTRIB_ARRAY_BARRIER_BIT = 0x00000001;

+ 1 - 0
libs/sdl/sdl/GL.hx

@@ -985,6 +985,7 @@ class GL {
 	/* Queries */
 	public static inline var SAMPLES_PASSED                 = 0x8914;
 	public static inline var TIMESTAMP                      = 0x8E28;
+	public static inline var TIME_ELAPSED                   = 0x88BF;
 
 	/* Barriers */
 	public static inline var VERTEX_ATTRIB_ARRAY_BARRIER_BIT = 0x00000001;