diff options
author | Ian C <ianc@noddybox.co.uk> | 2005-04-17 01:53:15 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2005-04-17 01:53:15 +0000 |
commit | 14123d8051df5cbae0331c28f63a8ec3ef9a3852 (patch) | |
tree | af216501262ec2e6ced154b4bfe02c0f7b679495 /opengl/main.cpp | |
parent | 71c1ae31007891ecfd59236ba8564bc4b5deb1e4 (diff) |
Development checking
Diffstat (limited to 'opengl/main.cpp')
-rw-r--r-- | opengl/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/opengl/main.cpp b/opengl/main.cpp index 19ca5a9..82bf991 100644 --- a/opengl/main.cpp +++ b/opengl/main.cpp @@ -28,7 +28,6 @@ static const char rcs_id[]="$Id$"; #include "gldialog.h" - // ---------------------------------------------------------------------- // MINGW WRAPPER FUNCTIONS // @@ -39,6 +38,9 @@ static const char* GetTitle() static int Execute(msModel* model) { + W32DLib::Common::Initialise(); + W32DLib::Common::MessageTitle("Simple OpenGL"); + if (!model) { return -1; @@ -46,12 +48,10 @@ static int Execute(msModel* model) if (msModel_GetMeshCount(model)<1) { - W32DLib::Common::Error(NULL,"No meshes in the model!"); + W32DLib::Common::Error(NULL,NULL,"No meshes in the model!"); return 0; } - W32DLib::Common::Initialise(); - Generate gen(model); GLDialog dlg(gen); |