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.
|
||||
if (!_properties.get_fullscreen()) {
|
||||
nassertr([_view lockFocusIfCanDraw], false);
|
||||
nassertr_always([_view lockFocusIfCanDraw], false);
|
||||
}
|
||||
|
||||
// Make the context current.
|
||||
|
|
|
|||
Loading…
Reference in New Issue