mirror of https://github.com/bjornbytes/lovr.git
Fix timers feature being true on GLES;
This commit is contained in:
parent
f1447fd69a
commit
dd6e05cf32
|
@ -1254,7 +1254,7 @@ void lovrGpuInit(void* (*getProcAddress)(const char*), bool debug) {
|
|||
state.features.dxt = GLAD_GL_EXT_texture_compression_s3tc;
|
||||
state.features.instancedStereo = GLAD_GL_ARB_viewport_array && GLAD_GL_AMD_vertex_shader_viewport_index && GLAD_GL_ARB_fragment_layer_viewport;
|
||||
state.features.multiview = GLAD_GL_ES_VERSION_3_0 && GLAD_GL_OVR_multiview2 && GLAD_GL_OVR_multiview_multisampled_render_to_texture;
|
||||
state.features.timers = GLAD_GL_VERSION_3_3 || GLAD_GL_EXT_disjoint_timer_query;
|
||||
state.features.timers = GLAD_GL_VERSION_3_3;
|
||||
#ifdef LOVR_GL
|
||||
glEnable(GL_LINE_SMOOTH);
|
||||
glEnable(GL_PROGRAM_POINT_SIZE);
|
||||
|
|
Loading…
Reference in New Issue