Changeset 938fee8 in git


Ignore:
Timestamp:
20/02/18 08:55:19 (19 months ago)
Author:
Olly Betts <olly@…>
Branches:
stereo
Children:
a214f04
Parents:
415cbe4
Message:

Fix to work with stereo buffers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gfxcore.cc

    r415cbe4 r938fee8  
    385385        }
    386386
     387#ifndef STEREO_BUFFERS
    387388        StartDrawing();
    388389
    389390        // Clear the background.
    390391        Clear();
     392#endif
    391393
    392394    for (m_Eye = 0; m_Eye < 2; m_Eye++) { // (0 for left eye, 1 for right)
     395#ifdef STEREO_BUFFERS
     396        StartDrawing();
     397
     398        // Clear the background.
     399        Clear();
     400#endif
     401
    393402        // Set up model transformation matrix.
    394403        SetDataTransform();
Note: See TracChangeset for help on using the changeset viewer.