From d574dd4b0b03c24038ab261eb7e9b0c9b1e58594 Mon Sep 17 00:00:00 2001 From: rdb Date: Tue, 26 Jan 2016 11:39:19 +0100 Subject: [PATCH] Fix texture format selection in FrameBufferProperties --- panda/src/display/frameBufferProperties.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/display/frameBufferProperties.cxx b/panda/src/display/frameBufferProperties.cxx index d5cc37a97a..b8e1b41f66 100644 --- a/panda/src/display/frameBufferProperties.cxx +++ b/panda/src/display/frameBufferProperties.cxx @@ -720,7 +720,7 @@ setup_color_texture(Texture *tex) const { { 1, 1, 1, 1, 0, false, Texture::F_rgb }, { 1, 1, 1, 1, 1, false, Texture::F_rgba }, { 24, 8, 8, 8, 0, false, Texture::F_rgb8 }, - { 24, 8, 8, 8, 8, false, Texture::F_rgba8 }, + { 32, 8, 8, 8, 8, false, Texture::F_rgba8 }, { 16, 16, 0, 0, 0, true, Texture::F_r16 }, { 32, 16, 16, 0, 0, true, Texture::F_rg16 }, { 48, 16, 16, 16, 0, true, Texture::F_rgb16 },