Skip to content

Commit 167acf7

Browse files
committed
small comments updates
1 parent 7d8bc9d commit 167acf7

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

initPTB.m

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,13 @@
6161

6262
%% Visual
6363

64-
cfg.screen = max(Screen('Screens')); % Main screen
64+
% Get the screen numbers and draw to the external screen if avaliable
65+
cfg.screen = max(Screen('Screens'));
6566

66-
% Init PTB with different options in concordance to the Debug Parameters
67+
% init PTB with different options in concordance to the Debug Parameters
6768
if cfg.debug
6869

69-
% Set to one because we don not care about time
70+
% set to one because we don not care about time
7071
Screen('Preference', 'SkipSyncTests', 2);
7172
Screen('Preference', 'Verbosity', 0);
7273
Screen('Preferences', 'SuppressAllWarnings', 2);
@@ -87,7 +88,7 @@
8788
end
8889

8990

90-
% Get the size of the on screen window
91+
% window size info
9192
[cfg.winWidth, cfg.winHeight] = WindowSize(cfg.win);
9293

9394

0 commit comments

Comments
 (0)