From 362270851aba4f0211617c3a55761a5650ba061d Mon Sep 17 00:00:00 2001 From: Walt Woods Date: Wed, 8 Apr 2020 11:46:21 -0700 Subject: [PATCH] Update to new pyglet version --- pygarrayimage/arrayimage.py | 4 ++-- setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pygarrayimage/arrayimage.py b/pygarrayimage/arrayimage.py index 5b32ea4..8f947d0 100644 --- a/pygarrayimage/arrayimage.py +++ b/pygarrayimage/arrayimage.py @@ -35,7 +35,7 @@ from pyglet.image import ImageData import ctypes -__version__ = '1.0' # keep in sync with ../setup.py +__version__ = '1.1' # keep in sync with ../setup.py __all__ = ['ArrayInterfaceImage'] def is_c_contiguous(inter): @@ -163,7 +163,7 @@ def dirty(self): '''Force an update of the texture data. ''' - texture = self.texture + texture = self.get_texture() internalformat = None self.blit_to_texture( texture.target, texture.level, 0, 0, 0, internalformat ) diff --git a/setup.py b/setup.py index 43e8f31..8324070 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ than the numpy-defined array interface. """, - version='1.0', # keep in sync with pygarrayimage/arrayimage.py + version='1.1', # keep in sync with pygarrayimage/arrayimage.py author='Andrew Straw', author_email='strawman@astraw.com', url='http://code.astraw.com/projects/motmot/wiki/pygarrayimage',