Fixed Movie Texture rendering

This commit is contained in:
korenkonder
2025-05-21 23:18:14 +03:00
parent db0ea2e64e
commit 203d873947
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -183,6 +183,7 @@ HOOK(void, FASTCALL, rndr__Render__movie_texture_free, 0x00000001404B18F0,
HOOK(void, FASTCALL, rndr__RenderManager__rndpass_pre_proc, 0x0000000140502C90) {
render_data_context rend_data_ctx(GL_REND_STATE_PRE_3D);
rend_data_ctx.state.get();
rend_data_ctx.state.begin_event("rndpass_pre_proc");
render_manager.render->pre_proc(rend_data_ctx);
Glitter::glt_particle_manager->CalcDisp();
-1
View File
@@ -278,7 +278,6 @@ namespace rndr {
{
render_data_context rend_data_ctx(GL_REND_STATE_PRE_3D);
rend_data_ctx.state.get();
rend_data_ctx.state.bind_framebuffer(0);
static const vec4 color_clear = 0.0f;
rend_data_ctx.state.clear_buffer(GL_COLOR, 0, (float_t*)&color_clear);