Skip to content


Browse files Browse the repository at this point in the history
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 May 14, 2018
1 parent 23d07cb commit a909c95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psychopy/visual/
Expand Up @@ -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 == "pyglet":
if in ["pyglet", "glfw"]:
self._pygletTextObj = pyglet.font.Text(
self._font, self.text,
halign=self.alignHoriz, valign=self.alignVert,
Expand Down

0 comments on commit a909c95

Please sign in to comment.