diff options
-rw-r--r-- | source/gameengine/VideoTexture/ImageBuff.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/VideoTexture/ImageBuff.cpp b/source/gameengine/VideoTexture/ImageBuff.cpp index 474a34b2f43..e1002bb2370 100644 --- a/source/gameengine/VideoTexture/ImageBuff.cpp +++ b/source/gameengine/VideoTexture/ImageBuff.cpp @@ -285,7 +285,7 @@ static PyObject * plot (PyImage * self, PyObject * args) { getImageBuff(self)->plot((unsigned char*)bglBuffer->buf.asvoid, width, height, x, y, mode); } - if (PyErr_Occurred) + if (PyErr_Occurred()) return NULL; Py_RETURN_NONE; } |