Skip to content

Commit

Permalink
PropixxImageUndistortionThrowaway.m: Fix stupid bug.
Browse files Browse the repository at this point in the history
Don't close the onscreen window and then try use it again!
  • Loading branch information
kleinerm committed Mar 20, 2024
1 parent 33491e6 commit a39fe15
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Psychtoolbox/PsychAlpha/PropixxImageUndistortionThrowaway.m
Original file line number Diff line number Diff line change
Expand Up @@ -208,12 +208,12 @@ function PropixxImageUndistortionThrowaway(calibfilename, flipmethod, corrmethod
% Reenable KbCheck for all keys:
RestrictKeysForKbCheck([]);

% Disable driver, plot some timing plots:
PsychProPixx('DisableFastDisplayMode', 1);

% Close all windows and ressources:
sca;

avgframetimemsecs = 1000 * (tend - tstart) / (count / rate)

% Disable driver, plot some timing plots:
PsychProPixx('DisableFastDisplayMode', 1);

return;

0 comments on commit a39fe15

Please sign in to comment.