From c2a1dcf6218cbd56126a5deb1aeaf212d67e54cb Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 16 Sep 2012 01:35:00 +0000 Subject: fix for error in recent commit (made function static that shouldn't have been), add extra gcc warnings to cmake. --- source/gameengine/VideoTexture/blendVideoTex.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/gameengine/VideoTexture') 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 #include @@ -168,7 +170,7 @@ static struct PyModuleDef VideoTexture_module_def = { 0, /* m_free */ }; -static PyObject *initVideoTexture(void) +PyObject *initVideoTexture(void) { PyObject * m; -- cgit v1.2.3