diff options
author | Kent Mein <mein@cs.umn.edu> | 2005-01-19 15:53:47 +0300 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2005-01-19 15:53:47 +0300 |
commit | d32f4a2851848c68e531244ad9123ebe9cd540ea (patch) | |
tree | f6f9385a8c9359f384eca244c74bb637372e5aa4 /source | |
parent | 92586e1ee237eb03e895a6122f6b8b7694bc4660 (diff) |
Jacques patch to get things compiling on windows.
basically it returns NULL for two functions that had their entire body
commented out.
Kent
Diffstat (limited to 'source')
-rw-r--r-- | source/gameengine/BlenderRoutines/KX_BlenderRenderTools.cpp | 5 | ||||
-rw-r--r-- | source/gameengine/GamePlayer/common/GPC_RenderTools.cpp | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/source/gameengine/BlenderRoutines/KX_BlenderRenderTools.cpp b/source/gameengine/BlenderRoutines/KX_BlenderRenderTools.cpp index b84239d1a65..ddf6dc3bef7 100644 --- a/source/gameengine/BlenderRoutines/KX_BlenderRenderTools.cpp +++ b/source/gameengine/BlenderRoutines/KX_BlenderRenderTools.cpp @@ -31,10 +31,6 @@ #include "KX_BlenderRenderTools.h" -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #ifdef WIN32 // OpenGL gl.h needs 'windows.h' on windows platforms #include <windows.h> @@ -442,6 +438,7 @@ RAS_IPolyMaterial* KX_BlenderRenderTools::CreateBlenderPolyMaterial( texname, ba,matname,tile,tilexrep,tileyrep,mode,transparant,zsort, lightlayer ,bIsTriangle,clientobject,(struct TFace*)tface);*/ + return NULL; } unsigned int KX_BlenderRenderTools::m_numgllights; diff --git a/source/gameengine/GamePlayer/common/GPC_RenderTools.cpp b/source/gameengine/GamePlayer/common/GPC_RenderTools.cpp index 03aabf10cf1..96c3c21ee90 100644 --- a/source/gameengine/GamePlayer/common/GPC_RenderTools.cpp +++ b/source/gameengine/GamePlayer/common/GPC_RenderTools.cpp @@ -30,10 +30,6 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <assert.h> #ifdef WIN32 @@ -338,6 +334,7 @@ RAS_IPolyMaterial* GPC_RenderTools::CreateBlenderPolyMaterial( /* return new GPC_PolygonMaterial(texname, ba,matname,tile,tilexrep,tileyrep, mode,transparant,zsort,lightlayer,bIsTriangle,clientobject,tface); */ + return NULL; } |