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
path: root/source
diff options
context:
space:
mode:
authorBenoit Bolsee <benoit.bolsee@online.be>2008-11-02 21:41:24 +0300
committerBenoit Bolsee <benoit.bolsee@online.be>2008-11-02 21:41:24 +0300
commit17296efd62ff37f0f6f5ae812c3009baaa2c54a1 (patch)
tree698db640de437a9be79555c0237f5aed01592c37 /source
parent7d63f5a7fe7378f9bea9e39282828f74bba47287 (diff)
VideoTexture: fix compile error with GLint in ImageViewport under osx, part 2
Diffstat (limited to 'source')
-rw-r--r--source/gameengine/VideoTexture/ImageViewport.cpp6
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