don't check equality to gboolean FALSE and TRUE

This commit is contained in:
Garux
2020-05-21 15:24:44 +03:00
parent 790424dbae
commit 62603d25fb
17 changed files with 33 additions and 33 deletions

View File

@@ -964,7 +964,7 @@ gboolean ModelBrowser_size_allocate( GtkWidget* widget, GtkAllocation* allocatio
}
gboolean ModelBrowser_expose( GtkWidget* widget, GdkEventExpose* event, ModelBrowser* modelBrowser ){
if ( glwidget_make_current( modelBrowser->m_gl_widget ) != FALSE ) {
if ( glwidget_make_current( modelBrowser->m_gl_widget ) ) {
GlobalOpenGL_debugAssertNoErrors();
ModelBrowser_render();
GlobalOpenGL_debugAssertNoErrors();