Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 969 vs 970 for /trunk/Source Code/Platform/Video/OpenGL/GLWrapper.cpp

Diff revisions: vs.
  @@ -109,6 +109,7 @@
109 109 for (U32 i = 0; i < windowCount; ++i) {
110 110 const DisplayWindow& window = winMgr.getWindow(i);
111 111 if (window.swapBuffers() && !window.minimized() && !window.hidden()) {
112 + GL_API::setClearColour(window.clearColour());
112 113 glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT /* | GL_STENCIL_BUFFER_BIT*/);
113 114 }
114 115 }
  @@ -866,7 +867,8 @@
866 867 GL_API::setActiveVAO(s_imguiVAO);
867 868 #endif
868 869 if (data != nullptr && data->Valid) {
869 -
870 + //glClipControl(GL_UPPER_LEFT, GL_ZERO_TO_ONE);
871 +
870 872 GenericDrawCommand cmd(PrimitiveType::TRIANGLES, 0, 0);
871 873 for (int n = 0; n < data->CmdListsCount; n++) {
872 874 const ImDrawList* cmd_list = data->CmdLists[n];
  @@ -908,6 +910,7 @@
908 910 #endif
909 911 }
910 912 }
913 + //glClipControl(GL_LOWER_LEFT, GL_NEGATIVE_ONE_TO_ONE);
911 914 }
912 915 }
913 916