mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
Fix unlockFocus error in release builds
This commit is contained in:
parent
7097ea4a0e
commit
10796fe33e
@ -182,7 +182,7 @@ begin_frame(FrameMode mode, Thread *current_thread) {
|
|||||||
|
|
||||||
// Lock the view for drawing.
|
// Lock the view for drawing.
|
||||||
if (!_properties.get_fullscreen()) {
|
if (!_properties.get_fullscreen()) {
|
||||||
nassertr([_view lockFocusIfCanDraw], false);
|
nassertr_always([_view lockFocusIfCanDraw], false);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Make the context current.
|
// Make the context current.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user