1
0
Fork 0
forked from suyu/suyu

Merge pull request #2164 from ReinUsesLisp/configure-blit

renderer_opengl: Update pixel format tracking
This commit is contained in:
bunnei 2019-02-26 12:12:10 -05:00 committed by GitHub
commit 10d1d58390
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {