Changeset 25966 for ps/trunk/source/gui/GUIMatrix.cpp
- Timestamp:
- Oct 17, 2021, 12:58:51 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ps/trunk/source/gui/GUIMatrix.cpp
r22605 r25966 1 /* Copyright (C) 20 19Wildfire Games.1 /* Copyright (C) 20 Wildfire Games. 2 2 * This file is part of 0 A.D. 3 3 * … … 19 19 20 20 #include "GUIMatrix.h" 21 21 #include "ps/VideoMode.h" 22 22 #include "maths/Matrix3D.h" 23 23 24 24 extern int g_xres, g_yres; 25 extern float g_GuiScale;26 25 27 26 CMatrix3D GetDefaultGuiMatrix() 28 27 { 29 float xres = g_xres / g_ GuiScale;30 float yres = g_yres / g_ GuiScale;28 float xres = g_xres / g_; 29 float yres = g_yres / g_; 31 30 32 31 CMatrix3D m;
Note:
See TracChangeset
for help on using the changeset viewer.