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

fix warning

parent 9e2622d1
No related branches found
No related tags found
No related merge requests found
......@@ -422,7 +422,7 @@ void drawContext::initProjection(int xpick, int ypick, int wpick, int hpick)
Msg::Error("Could not load valid background image");
// make sure we don't try to load it again
for(int i = 0; i < 3; i++) _bgImage.push_back(0);
_bgImageSize[0] = _bgImageSize[1] = 1.;
_bgImageSize[0] = _bgImageSize[1] = 1;
}
if(img) delete img;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment