mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 08:15:18 -04:00
parent
f84111a693
commit
7f20bcd8e0
@ -165,10 +165,9 @@ make_output(const std::string &name,
|
|||||||
// Early failure - if we are sure that this buffer WONT meet specs, we can
|
// Early failure - if we are sure that this buffer WONT meet specs, we can
|
||||||
// bail out early.
|
// bail out early.
|
||||||
if ((flags & BF_fb_props_optional)==0) {
|
if ((flags & BF_fb_props_optional)==0) {
|
||||||
if ((fb_prop.get_indexed_color() > 0)||
|
if (fb_prop.get_indexed_color() > 0 ||
|
||||||
(fb_prop.get_back_buffers() > 0)||
|
fb_prop.get_back_buffers() > 0 ||
|
||||||
(fb_prop.get_accum_bits() > 0)||
|
fb_prop.get_accum_bits() > 0) {
|
||||||
(fb_prop.get_multisamples() > 0)) {
|
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user