diff options
Diffstat (limited to 'txtgameengine/twod/textures.py')
-rw-r--r-- | txtgameengine/twod/textures.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/txtgameengine/twod/textures.py b/txtgameengine/twod/textures.py index 378227d..295af27 100644 --- a/txtgameengine/twod/textures.py +++ b/txtgameengine/twod/textures.py @@ -17,7 +17,7 @@ class Texture: self._bind_to_gl() def _bind_to_gl(self): - image = Image.open(os.path.join(TEXTURE_FOLDER, self.path)) + image = Image.open(self.path) self.width, self.height = image.size imagedata = np.array(list(image.getdata()), np.uint8) self.gl_texid = self.app.render.setup_texture(self.width, self.height, imagedata) |