We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4164bc commit 39777a3Copy full SHA for 39777a3
psychopy/visual/textbox2/fontmanager.py
@@ -283,7 +283,7 @@ def upload(self):
283
"""
284
if not self.textureID:
285
self.textureID = gl.GLuint(0)
286
- self.textureID = gl.glGenTextures(1, ctypes.byref(self.texid))
+ gl.glGenTextures(1, ctypes.byref(self.textureID))
287
logging.debug("Uploading Texture Font {} to graphics card"
288
.format(self.name))
289
gl.glBindTexture(gl.GL_TEXTURE_2D, self.textureID)
0 commit comments