Explorar o código

gl_rasterizer: Apply textures and images state

ReinUsesLisp %!s(int64=7) %!d(string=hai) anos
pai
achega
322d0200c8
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/video_core/renderer_opengl/gl_rasterizer.cpp

+ 2 - 0
src/video_core/renderer_opengl/gl_rasterizer.cpp

@@ -825,6 +825,8 @@ void RasterizerOpenGL::DispatchCompute(GPUVAddr code_addr) {
     bind_ubo_pushbuffer.Bind();
     bind_ssbo_pushbuffer.Bind();
 
+    state.ApplyTextures();
+    state.ApplyImages();
     state.ApplyShaderProgram();
     state.ApplyProgramPipeline();