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

Suppressed superfluous Draw()

parent be67f591
No related branches found
No related tags found
No related merge requests found
/* $Id: Main.cpp,v 1.24 2000-12-08 13:06:56 geuzaine Exp $ */ /* $Id: Main.cpp,v 1.25 2000-12-08 13:12:18 geuzaine Exp $ */
#include <signal.h> #include <signal.h>
...@@ -853,6 +853,7 @@ int main(int argc, char *argv[]){ ...@@ -853,6 +853,7 @@ int main(int argc, char *argv[]){
/* The GUI is ready */ /* The GUI is ready */
CTX.interactive = 0 ; CTX.interactive = 0 ;
CTX.expose = 1 ;
/* Say welcome! */ /* Say welcome! */
...@@ -860,11 +861,6 @@ int main(int argc, char *argv[]){ ...@@ -860,11 +861,6 @@ int main(int argc, char *argv[]){
Msg(STATUS, "Ready"); Msg(STATUS, "Ready");
Msg(SELECT, "Gmsh %g", GMSH_VERSION); Msg(SELECT, "Gmsh %g", GMSH_VERSION);
/* Compute viewport and Draw empty scene */
CTX.expose = 1 ;
Init();
Draw();
/* Open input file */ /* Open input file */
OpenProblem(TheFileName); OpenProblem(TheFileName);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment