We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4e7c13 commit 4b68400Copy full SHA for 4b68400
src/Layers/xrRenderGL/glHW.cpp
@@ -125,6 +125,10 @@ void CHW::CreateDevice( HWND hWnd, bool move_window )
125
CHK_GL(glDebugMessageCallback((GLDEBUGPROC)OnDebugCallback, nullptr));
126
#endif // DEBUG
127
128
+ // Clip control ensures compatibility with D3D device coordinates.
129
+ // TODO: Fix these differences in the blenders/shaders.
130
+ CHK_GL(glClipControl(GL_UPPER_LEFT, GL_ZERO_TO_ONE));
131
+
132
#ifndef _EDITOR
133
updateWindowProps (m_hWnd);
134
fill_vid_mode_list (this);
0 commit comments