summaryrefslogtreecommitdiff
path: root/opengl/main.cpp
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2005-04-24 01:44:48 +0000
committerIan C <ianc@noddybox.co.uk>2005-04-24 01:44:48 +0000
commit105edbd5028399f9cd180ca5674a92edb1fb6efb (patch)
tree0935e33dde0701684d1a0dd5e29a77803838897a /opengl/main.cpp
parent540a3ffe4a9be39c346973e1f958c02398ce3f8a (diff)
Fixed texture mapping and added generation of materials for lighting
Diffstat (limited to 'opengl/main.cpp')
-rw-r--r--opengl/main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/opengl/main.cpp b/opengl/main.cpp
index 7ded832..9fb5a3b 100644
--- a/opengl/main.cpp
+++ b/opengl/main.cpp
@@ -41,8 +41,6 @@ static int Execute(msModel* model)
W32DLib::Common::Initialise();
W32DLib::Common::MessageTitle("Simple OpenGL");
- // Unfortunately this is the best you can hope for with Milkshape...
- //
HWND parent=GetForegroundWindow();
if (!model)
@@ -66,7 +64,7 @@ static int Execute(msModel* model)
SetCursor(LoadCursor(NULL,IDC_ARROW));
}
- return 1;
+ return MS_MODEL_UNCHANGED;
}
PLUGIN_SPEC void* CreatePlugIn()