mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
renderer_opengl: Update pixel format tracking
This commit is contained in:
parent
c3471bf618
commit
d91e35a50a
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue