same thing with a 1-element elementArray:
earray = visual.ElementArrayStim(win=mywin, texRes=2, nElements=1,
sizes=1, fieldSize=1)
and same with pygame or when defining the square before defining the earray...
> --
> You received this message because you are subscribed to the Google Groups "psychopy-users" group.
> To post to this group, send email to psychop...@googlegroups.com.
> To unsubscribe from this group, send email to psychopy-user...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/psychopy-users?hl=en.
>
>
To fix, insert the line
GL.glUseProgram(0)
somewhere towards the end of the ElementArray.draw() e.g. just before
GL.glPopClientAttrib() on line 3372
Or download the version I just committed at:
https://github.com/psychopy/psychopy/blob/6abc0f3c90fa77ec8f93c363ad8e25141d65d0a5/psychopy/visual.py
Thanks yuri, for the nice minimal example to help find the bug.
Jon
--
Dr. Jonathan Peirce
Nottingham Visual Neuroscience
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.