Browse Source

mono display should set both left & right rbuffer flags

cxgeorge 24 years ago
parent
commit
24345e2bf4
1 changed files with 3 additions and 1 deletions
  1. 3 1
      panda/src/dxgsg/dxGraphicsStateGuardian.cxx

+ 3 - 1
panda/src/dxgsg/dxGraphicsStateGuardian.cxx

@@ -223,7 +223,9 @@ reset() {
     _issued_color_enabled = false;
     _issued_color_enabled = false;
     _enable_all_color = true;
     _enable_all_color = true;
 
 
-    _buffer_mask &= ~RenderBuffer::T_right;  // test for these later
+//   this is incorrect for mono displays, need both right and left flags set.
+//   stereo has not been handled yet for dx
+//    _buffer_mask &= ~RenderBuffer::T_right;  // test for these later
 
 
     // Set up our clear values to invalid values, so the glClear* calls
     // Set up our clear values to invalid values, so the glClear* calls
     // will be made initially.
     // will be made initially.