[Bf-blender-cvs] [e057061] temp-python-bgl: Correct args to PyArg_ParseTuple

Campbell Barton noreply at git.blender.org
Fri Jul 24 01:09:07 CEST 2015


Commit: e0570615349f0b7f29e128bb21a46e3260718a2a
Author: Campbell Barton
Date:   Fri Jul 24 09:02:47 2015 +1000
Branches: temp-python-bgl
https://developer.blender.org/rBe0570615349f0b7f29e128bb21a46e3260718a2a

Correct args to PyArg_ParseTuple

===================================================================

M	source/blender/python/generic/bgl.c

===================================================================

diff --git a/source/blender/python/generic/bgl.c b/source/blender/python/generic/bgl.c
index ca1153c..4f51d65 100644
--- a/source/blender/python/generic/bgl.c
+++ b/source/blender/python/generic/bgl.c
@@ -205,19 +205,19 @@
 #define GLint_def(num)      int GLint_var(num)
 
 /* typedef int GLsizei; */
-#define GLsizei_str       "N"
+#define GLsizei_str       "n"
 #define GLsizei_var(num)    bgl_var##num
 #define GLsizei_ref(num)    &bgl_var##num
 #define GLsizei_def(num)    size_t GLsizei_var(num)
 
 /* typedef int GLsizeiptr; */
-#define GLsizeiptr_str       "N"
+#define GLsizeiptr_str       "n"
 #define GLsizeiptr_var(num)    bgl_var##num
 #define GLsizeiptr_ref(num)    &bgl_var##num
 #define GLsizeiptr_def(num)    size_t GLsizeiptr_var(num)
 
 /* typedef int GLintptr; */
-#define GLintptr_str       "N"
+#define GLintptr_str       "n"
 #define GLintptr_var(num)    bgl_var##num
 #define GLintptr_ref(num)    &bgl_var##num
 #define GLintptr_def(num)    size_t GLintptr_var(num)




More information about the Bf-blender-cvs mailing list