diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2008-11-02 21:41:24 +0300 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2008-11-02 21:41:24 +0300 |
commit | 17296efd62ff37f0f6f5ae812c3009baaa2c54a1 (patch) | |
tree | 698db640de437a9be79555c0237f5aed01592c37 | |
parent | 7d63f5a7fe7378f9bea9e39282828f74bba47287 (diff) |
VideoTexture: fix compile error with GLint in ImageViewport under osx, part 2
-rw-r--r-- | source/gameengine/VideoTexture/ImageViewport.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/gameengine/VideoTexture/ImageViewport.cpp b/source/gameengine/VideoTexture/ImageViewport.cpp index 59995198ba1..4ed1cd9e801 100644 --- a/source/gameengine/VideoTexture/ImageViewport.cpp +++ b/source/gameengine/VideoTexture/ImageViewport.cpp @@ -192,9 +192,9 @@ static int ImageViewport_setPosition (PyImage * self, PyObject * value, void * c return -1; } // set position - int pos [] = { - int(PyInt_AsLong(PySequence_Fast_GET_ITEM(value, 0))), - int(PyInt_AsLong(PySequence_Fast_GET_ITEM(value, 1))) + GLint pos [] = { + GLint(PyInt_AsLong(PySequence_Fast_GET_ITEM(value, 0))), + GLint(PyInt_AsLong(PySequence_Fast_GET_ITEM(value, 1))) }; getImageViewport(self)->setPosition(pos); // success |