Revision: 17300
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=17300
Author:   ben2610
Date:     2008-11-02 19:41:24 +0100 (Sun, 02 Nov 2008)

Log Message:
-----------
VideoTexture: fix compile error with GLint in ImageViewport under osx, part 2

Modified Paths:
--------------
    trunk/blender/source/gameengine/VideoTexture/ImageViewport.cpp

Modified: trunk/blender/source/gameengine/VideoTexture/ImageViewport.cpp
===================================================================
--- trunk/blender/source/gameengine/VideoTexture/ImageViewport.cpp      
2008-11-02 18:31:54 UTC (rev 17299)
+++ trunk/blender/source/gameengine/VideoTexture/ImageViewport.cpp      
2008-11-02 18:41:24 UTC (rev 17300)
@@ -192,9 +192,9 @@
                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


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to