mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
make_texture_buffer should request color and alpha bits by default (alpha bits for backward compatibility)
This commit is contained in:
parent
3f56259c7f
commit
e3301b8896
@ -954,6 +954,8 @@ make_texture_buffer(const string &name, int x_size, int y_size,
|
||||
|
||||
FrameBufferProperties props;
|
||||
props.set_rgb_color(1);
|
||||
props.set_color_bits(1);
|
||||
props.set_alpha_bits(1);
|
||||
props.set_depth_bits(1);
|
||||
|
||||
if (fbp == NULL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user