Fix unlockFocus error in release builds

This commit is contained in:
rdb 2015-03-30 17:58:35 +02:00
parent 7097ea4a0e
commit 10796fe33e

View File

@ -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.