~ubuntu-branches/ubuntu/trusty/psychtoolbox-3/trusty-proposed

« back to all changes in this revision

Viewing changes to Psychtoolbox/PsychDemos/ContrastModulatedNoiseTheElegantStyleDemo.m

  • Committer: Package Import Robot
  • Author(s): Yaroslav Halchenko
  • Date: 2013-11-19 23:34:50 UTC
  • mfrom: (3.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20131119233450-f7nf92vb8qavjmk8
Tags: 3.0.11.20131017.dfsg1-3
Upload to unsable since fresh glew has arrived to sid!

Show diffs side-by-side

added added

removed removed

Lines of Context:
122
122
        % If staticnoise is set to 1 then we only generate the noise
123
123
        % texture once -- This way we can disentangle "noise creation
124
124
        % overhead" from actual drawing overhead:
125
 
        if i==1 | staticnoise == 0
 
125
        if i==1 || staticnoise == 0
126
126
            % Convert Matlab 'noisematrix' to 16 bpc floating point noise texture:
127
127
            noisetex = Screen('MakeTexture', win, noisematrix, [], [], 1);
128
128
        end