Browse Source
Merge pull request #2164 from ReinUsesLisp/configure-blit
renderer_opengl: Update pixel format tracking
pull/15/merge
bunnei
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
src/video_core/renderer_opengl/renderer_opengl.cpp
|
|
@ -257,6 +257,7 @@ void RendererOpenGL::ConfigureFramebufferTexture(TextureInfo& texture, |
|
|
const Tegra::FramebufferConfig& framebuffer) { |
|
|
const Tegra::FramebufferConfig& framebuffer) { |
|
|
texture.width = framebuffer.width; |
|
|
texture.width = framebuffer.width; |
|
|
texture.height = framebuffer.height; |
|
|
texture.height = framebuffer.height; |
|
|
|
|
|
texture.pixel_format = framebuffer.pixel_format; |
|
|
|
|
|
|
|
|
GLint internal_format; |
|
|
GLint internal_format; |
|
|
switch (framebuffer.pixel_format) { |
|
|
switch (framebuffer.pixel_format) { |
|
|
|