![]() |
#5
|
|||
|
|||
Sorry for the triple post!
So I have a solution although it's by no means elegant and I am sure there is another way around this. I was getting the graphics error when trying to initialize the graphics when in fullscreen mode. I assume this is because Vizard has some kind of lock on the rendering loop and when trying to initialize a new window from within fullscreen mode, it fails. I've got around the problem by toggling full screen mode OFF before the drift correction function is called and back ON once it has completed: Code:
viz.window.setFullscreen(viz.OFF) EyeTracker.driftCorrection() viz.window.setFullscreen(viz.ON) Does anyone have any ideas? Thanks |
|
|