Made it actually run on OpenGL 4.1 and 4.2 (Stage Effect)

This commit is contained in:
korenkonder
2025-05-23 23:18:27 +03:00
parent 6facf5adc6
commit 882e58686c
4 changed files with 268 additions and 55 deletions
+1 -1
View File
@@ -2189,7 +2189,7 @@ namespace rndr {
16 * TONE_MAP_SAT_GAMMA_SAMPLES, 1, GL_RG, GL_FLOAT, tex_data);
else {
p_gl_rend_st.bind_texture_2d(tonemap_lut_texture);
glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0,
p_gl_rend_st.tex_sub_image_2d(GL_TEXTURE_2D, 0, 0, 0,
16 * TONE_MAP_SAT_GAMMA_SAMPLES, 1, GL_RG, GL_FLOAT, tex_data);
}
}