Skip to content

Commit

Permalink
CHW: Switch to GL_LOWER_LEFT until debugging can show the need for GL…
Browse files Browse the repository at this point in the history
…_UPPER_LEFT.
  • Loading branch information
CrossVR committed Dec 12, 2015
1 parent fde22e2 commit 6c589d2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Layers/xrRenderGL/glHW.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,9 @@ void CHW::CreateDevice( HWND hWnd, bool move_window )
#endif // DEBUG

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

// Create render target and depth-stencil views here
UpdateViews();
Expand Down

0 comments on commit 6c589d2

Please sign in to comment.