Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-09-16 05:35:00 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-09-16 05:35:00 +0400
commitc2a1dcf6218cbd56126a5deb1aeaf212d67e54cb (patch)
treef669a08de71815eaaefa27668e5d11c8fa787106 /source/gameengine/VideoTexture
parentd724d0adfe10db8042f0d4d2a971e73b0bcec902 (diff)
fix for error in recent commit (made function static that shouldn't have been), add extra gcc warnings to cmake.
Diffstat (limited to 'source/gameengine/VideoTexture')
-rw-r--r--source/gameengine/VideoTexture/blendVideoTex.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/gameengine/VideoTexture/blendVideoTex.cpp b/source/gameengine/VideoTexture/blendVideoTex.cpp
index b05675c880a..7d595832ffd 100644
--- a/source/gameengine/VideoTexture/blendVideoTex.cpp
+++ b/source/gameengine/VideoTexture/blendVideoTex.cpp
@@ -26,6 +26,8 @@ http://www.gnu.org/copyleft/lesser.txt.
#include "PyObjectPlus.h"
+#include "KX_PythonInit.h"
+
#include <RAS_GLExtensionManager.h>
#include <RAS_IPolygonMaterial.h>
@@ -168,7 +170,7 @@ static struct PyModuleDef VideoTexture_module_def = {
0, /* m_free */
};
-static PyObject *initVideoTexture(void)
+PyObject *initVideoTexture(void)
{
PyObject * m;