From 105edbd5028399f9cd180ca5674a92edb1fb6efb Mon Sep 17 00:00:00 2001 From: Ian C Date: Sun, 24 Apr 2005 01:44:48 +0000 Subject: Fixed texture mapping and added generation of materials for lighting --- opengl/main.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'opengl/main.cpp') 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() -- cgit v1.2.3