mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Avoid crash in p3tinydisplay when there is no initial window
This commit is contained in:
parent
de715b5a0e
commit
9396f998fb
@ -604,6 +604,10 @@ create_full_frame_buffer() {
|
||||
////////////////////////////////////////////////////////////////////
|
||||
void TinyXGraphicsWindow::
|
||||
create_reduced_frame_buffer() {
|
||||
if (!_full_frame_buffer) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (_reduced_frame_buffer != NULL) {
|
||||
ZB_close(_reduced_frame_buffer);
|
||||
_reduced_frame_buffer = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user