Skip to content

Commit 6c589d2

Browse files
committed
CHW: Switch to GL_LOWER_LEFT until debugging can show the need for GL_UPPER_LEFT.
1 parent fde22e2 commit 6c589d2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Layers/xrRenderGL/glHW.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,9 @@ void CHW::CreateDevice( HWND hWnd, bool move_window )
130130
#endif // DEBUG
131131

132132
// Clip control ensures compatibility with D3D device coordinates.
133-
// TODO: Fix these differences in the blenders/shaders.
134-
CHK_GL(glClipControl(GL_UPPER_LEFT, GL_ZERO_TO_ONE));
133+
// TODO: OGL: Also use GL_UPPER_LEFT to match D3D.
134+
// TODO: OGL: Fix these differences in the blenders/shaders.
135+
CHK_GL(glClipControl(GL_LOWER_LEFT, GL_ZERO_TO_ONE));
135136

136137
// Create render target and depth-stencil views here
137138
UpdateViews();

0 commit comments

Comments
 (0)