Skip to content
Snippets Groups Projects
Commit 2ea27b02 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix warnings

parent a7604a30
No related branches found
No related tags found
No related merge requests found
......@@ -702,6 +702,7 @@ void drawContext::drawMesh()
for(unsigned int i = 0; i < GModel::list.size(); i++){
GModel *m = GModel::list[i];
bool changed = m->fillVertexArrays();
if(changed) Msg::Debug("mesh vertex arrays have changed");
#if defined(HAVE_FLTK) && defined(__APPLE__)
// FIXME: resetting texture pile fixes bug with recent MacOS versions
if(changed) gl_texture_pile_height(gl_texture_pile_height());
......
......@@ -580,6 +580,7 @@ void drawContext::drawPost()
for(unsigned int i = 0; i < PView::list.size(); i++){
bool changed = PView::list[i]->fillVertexArrays();
if(changed) Msg::Debug("post-pro vertex arrays have changed");
#if defined(HAVE_FLTK) && defined(__APPLE__)
// FIXME: resetting texture pile fixes bug with recent MacOS versions
if(changed) gl_texture_pile_height(gl_texture_pile_height());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment