Przeglądaj źródła

renderer_opengl: Update pixel format tracking

ReinUsesLisp 7 lat temu
rodzic
commit
d91e35a50a

+ 1 - 0
src/video_core/renderer_opengl/renderer_opengl.cpp

@@ -257,6 +257,7 @@ void RendererOpenGL::ConfigureFramebufferTexture(TextureInfo& texture,
                                                  const Tegra::FramebufferConfig& framebuffer) {
     texture.width = framebuffer.width;
     texture.height = framebuffer.height;
+    texture.pixel_format = framebuffer.pixel_format;
 
     GLint internal_format;
     switch (framebuffer.pixel_format) {