Skip to content

Commit

Permalink
opengl/gpu: disable timer queries on GLES again
Browse files Browse the repository at this point in the history
I was not careful and failed to notice that GL_TIME_ELAPSED is
not part of the GLES spec.
We could use EXT_disjoint_timer_query to make this work but that's for another day.

fixes: 691ab15
  • Loading branch information
sfan5 authored and haasn committed Nov 11, 2024
1 parent 4afd529 commit a075974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/opengl/gpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ pl_gpu pl_gpu_create_gl(pl_log log, pl_opengl pl_gl, const struct pl_opengl_para
p->has_vao = gl_test_ext(gpu, "GL_ARB_vertex_array_object", 30, 30);
p->has_invalidate_fb = gl_test_ext(gpu, "GL_ARB_invalidate_subdata", 43, 30);
p->has_invalidate_tex = gl_test_ext(gpu, "GL_ARB_invalidate_subdata", 43, 0);
p->has_queries = gl_test_ext(gpu, "GL_ARB_timer_query", 30, 30);
p->has_queries = gl_test_ext(gpu, "GL_ARB_timer_query", 30, 0);
p->has_storage = gl_test_ext(gpu, "GL_ARB_shader_image_load_store", 42, 31);
p->has_readback = true;

Expand Down

0 comments on commit a075974

Please sign in to comment.