From 24345e2bf4a0ac3235e7ee9745dc6602555fffb4 Mon Sep 17 00:00:00 2001 From: cxgeorge <> Date: Tue, 7 Aug 2001 01:27:02 +0000 Subject: [PATCH] mono display should set both left & right rbuffer flags --- panda/src/dxgsg/dxGraphicsStateGuardian.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/panda/src/dxgsg/dxGraphicsStateGuardian.cxx b/panda/src/dxgsg/dxGraphicsStateGuardian.cxx index c965524626..398b865e7a 100644 --- a/panda/src/dxgsg/dxGraphicsStateGuardian.cxx +++ b/panda/src/dxgsg/dxGraphicsStateGuardian.cxx @@ -223,7 +223,9 @@ reset() { _issued_color_enabled = false; _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 // will be made initially.