mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
Fix texture format selection in FrameBufferProperties
This commit is contained in:
parent
ea368dd559
commit
d574dd4b0b
@ -720,7 +720,7 @@ setup_color_texture(Texture *tex) const {
|
|||||||
{ 1, 1, 1, 1, 0, false, Texture::F_rgb },
|
{ 1, 1, 1, 1, 0, false, Texture::F_rgb },
|
||||||
{ 1, 1, 1, 1, 1, false, Texture::F_rgba },
|
{ 1, 1, 1, 1, 1, false, Texture::F_rgba },
|
||||||
{ 24, 8, 8, 8, 0, false, Texture::F_rgb8 },
|
{ 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 },
|
{ 16, 16, 0, 0, 0, true, Texture::F_r16 },
|
||||||
{ 32, 16, 16, 0, 0, true, Texture::F_rg16 },
|
{ 32, 16, 16, 0, 0, true, Texture::F_rg16 },
|
||||||
{ 48, 16, 16, 16, 0, true, Texture::F_rgb16 },
|
{ 48, 16, 16, 16, 0, true, Texture::F_rgb16 },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user