diff options
Diffstat (limited to 'modules/snap_context/__init__.py')
-rw-r--r-- | modules/snap_context/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/snap_context/__init__.py b/modules/snap_context/__init__.py index b7bdf17d..0c17b2cb 100644 --- a/modules/snap_context/__init__.py +++ b/modules/snap_context/__init__.py @@ -92,7 +92,7 @@ class SnapContext(): self._texture = self._offscreen.color_texture bgl.glBindTexture(bgl.GL_TEXTURE_2D, self._texture) - NULL = bgl.Buffer(bgl.GL_INT, 1, (ctypes.c_int * 1).from_address(0)) + NULL = bgl.Buffer(bgl.GL_INT, 1, (ctypes.c_int32 * 1).from_address(0)) bgl.glTexImage2D(bgl.GL_TEXTURE_2D, 0, bgl.GL_R32UI, self.region.width, self.region.height, 0, bgl.GL_RED_INTEGER, bgl.GL_UNSIGNED_INT, NULL) del NULL |