Permalink
Browse files

BF: for the glfw backend we needed to make this change for TextStim

@mdcutone this was all we needed and then pyglet's text objects working
fine inside the glfw window :-)
  • Loading branch information...
peircej committed Apr 26, 2018
1 parent 23d07cb commit a909c95fe59a8cfe9ba0030c69d041f0bd897d38
Showing with 1 addition and 1 deletion.
  1. +1 −1 psychopy/visual/text.py
@@ -296,7 +296,7 @@ def setText(self, text=None, log=None):
def _setTextShaders(self, value=None):
"""Set the text to be rendered using the current font
"""
if self.win.winType == "pyglet":
if self.win.winType in ["pyglet", "glfw"]:
self._pygletTextObj = pyglet.font.Text(
self._font, self.text,
halign=self.alignHoriz, valign=self.alignVert,

0 comments on commit a909c95

Please sign in to comment.