From 16816aa5187b1c439da71f4badfbe8afdb5ec435 Mon Sep 17 00:00:00 2001 From: rom Date: Sat, 24 Apr 2021 02:43:02 +0200 Subject: pushing stuff around --- txtgameengine/twod/textures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'txtgameengine/twod/textures.py') 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) -- cgit