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

@@ -1422,7 +1422,7 @@ gboolean TextureBrowser_size_allocate( GtkWidget* widget, GtkAllocation* allocat
}
gboolean TextureBrowser_expose( GtkWidget* widget, GdkEventExpose* event, TextureBrowser* textureBrowser ){
if ( glwidget_make_current( textureBrowser->m_gl_widget ) != FALSE ) {
if ( glwidget_make_current( textureBrowser->m_gl_widget ) ) {
GlobalOpenGL_debugAssertNoErrors();
TextureBrowser_evaluateHeight( *textureBrowser );
Texture_Draw( *textureBrowser );