mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
fix crash
This commit is contained in:
parent
a8ffec28b6
commit
d1e65cd52d
@ -838,6 +838,10 @@ get_ram_image() {
|
||||
reload_ram_image();
|
||||
}
|
||||
|
||||
if (_ram_images.empty()) {
|
||||
return CPTA_uchar();
|
||||
}
|
||||
|
||||
return _ram_images[0]._image;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user