Dont use glGetTexLevelParameteriv, it's only available in opengl es 3.1

This commit is contained in:
dec05eba
2025-09-21 03:19:56 +02:00
parent a4c227c43e
commit 2c22782ca0
14 changed files with 48 additions and 41 deletions

View File

@@ -33,6 +33,7 @@ bool gsr_plugins_init(gsr_plugins *self, gsr_plugin_init_params init_params, gsr
.egl = egl,
.destination_color = GSR_DESTINATION_COLOR_RGB8, /* TODO: Support 10-bits, use init_params.color_depth */
.destination_textures[0] = self->texture,
.destination_textures_size[0] = (vec2i){ init_params.width, init_params.height },
.num_destination_textures = 1,
.color_range = GSR_COLOR_RANGE_FULL,
.load_external_image_shader = false,