Changeset 25966 for ps/trunk/source/gui/ObjectTypes/CInput.cpp
- Timestamp:
- Oct 17, 2021, 12:58:51 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ps/trunk/source/gui/ObjectTypes/CInput.cpp
r25693 r25966 32 32 #include "ps/Globals.h" 33 33 #include "ps/Hotkey.h" 34 34 35 #include "renderer/Renderer.h" 35 36 … … 1239 1240 if (cliparea != CRect()) 1240 1241 { 1242 1241 1243 glEnable(GL_SCISSOR_TEST); 1242 1244 glScissor( 1243 cliparea.left * g_GuiScale,1244 g_yres - cliparea.bottom * g_GuiScale,1245 cliparea.GetWidth() * g_GuiScale,1246 cliparea.GetHeight() * g_GuiScale);1245 cliparea.left * cale, 1246 g_yres - cliparea.bottom * cale, 1247 cliparea.GetWidth() * cale, 1248 cliparea.GetHeight() * cale); 1247 1249 } 1248 1250
Note:
See TracChangeset
for help on using the changeset viewer.