mirror of
https://github.com/korenkonder/ReDIVA.git
synced 2026-10-06 13:48:01 +03:00
Made it actually run on OpenGL 4.1 and 4.2 (Stage Effect)
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user