Fixed issue with getting same texture for TaskMovie Player No Interop

This commit is contained in:
korenkonder
2025-06-15 22:25:24 +03:00
parent 68185aa02b
commit c118acfa75
2 changed files with 7 additions and 4 deletions
+2 -2
View File
@@ -1306,7 +1306,7 @@ void render_context::init() {
empty_texture_data,
};
empty_texture_2d = texture_load_tex_2d(texture_id(0x2F, 0),
empty_texture_2d = texture_load_tex_2d(texture_id(0x2F, 0x00),
GL_COMPRESSED_RGBA_S3TC_DXT1_EXT, 4, 4, 0, empty_texture_2d_array, false);
static const void* empty_texture_cube_map_array[] = {
@@ -1318,7 +1318,7 @@ void render_context::init() {
empty_texture_data,
};
empty_texture_cube_map = texture_load_tex_cube_map(texture_id(0x2F, 1),
empty_texture_cube_map = texture_load_tex_cube_map(texture_id(0x2F, 0x01),
GL_COMPRESSED_RGBA_S3TC_DXT1_EXT, 4, 4, 0, empty_texture_cube_map_array);
auto init_copy_buffer = [&](RenderTexture& src, RenderTexture& dst) {