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',