From 2ea27b02bbbb38aa04be6dff5203eab477f8c4d7 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sun, 9 Apr 2017 09:20:06 +0200 Subject: [PATCH] fix warnings --- Graphics/drawMesh.cpp | 1 + Graphics/drawPost.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/Graphics/drawMesh.cpp b/Graphics/drawMesh.cpp index 824fe9557d..1240f31170 100644 --- a/Graphics/drawMesh.cpp +++ b/Graphics/drawMesh.cpp @@ -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()); diff --git a/Graphics/drawPost.cpp b/Graphics/drawPost.cpp index a684ac3f20..9c960352cc 100644 --- a/Graphics/drawPost.cpp +++ b/Graphics/drawPost.cpp @@ -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()); -- GitLab