1
0
Fork 0

source/Platform/Unix/UnixMisc.cpp: tab indentation fix.

This commit is contained in:
Henrik Hautakoski 2023-02-18 13:08:03 +01:00
parent 8a0946eb3a
commit 869b41c38a

View file

@ -24,7 +24,7 @@ void PlatformMisc::GetDisplayModes(std::vector<DisplayMode>& modes)
XRRScreenConfiguration* config = ::XRRGetScreenInfo(disp, RootWindow(disp, scr));
if (config) {
int nbSizes;
XRRScreenSize* sizes = ::XRRConfigSizes(config, &nbSizes);
XRRScreenSize* sizes = ::XRRConfigSizes(config, &nbSizes);
if (sizes && nbSizes > 0) {
int nbDepths = 0;
int* depths = ::XListDepths(disp, scr, &nbDepths);
@ -82,7 +82,7 @@ DisplayMode PlatformMisc::GetDesktopMode()
::Rotation rot;
int current = XRRConfigCurrentConfiguration(config, &rot);
XRRScreenSize* sizes = ::XRRConfigSizes(config, &nbSizes);
XRRScreenSize* sizes = ::XRRConfigSizes(config, &nbSizes);
if (sizes && nbSizes > 0) {
mode = DisplayMode(sizes[current].width, sizes[current].height, DefaultDepth(disp, scr));