>> GratingDemoINTERNAL PSYCHTOOLBOX ERROR
error: Psycherror_OpenGL
general description: OpenGL call returned an error
specific description: GL_INVALID_ENUM
module name: Screen
subfunction call: PutImage
file name: Common\Screen\SCREENPutImage.c
function name: UNKNOWN
line number: 245
??? Error using ==> Screen
(null)
Error in ==> GratingDemo at 158
Screen('PutImage', window, grayscaleImageMatrix);
When I run the GratingDemo, the 'PutImage' keeps showing errors.
Does anyone have a solution?
Thanks!