source/Platform/Unix/UnixMisc.cpp: tab indentation fix.
This commit is contained in:
parent
8a0946eb3a
commit
869b41c38a
1 changed files with 2 additions and 2 deletions
|
|
@ -24,7 +24,7 @@ void PlatformMisc::GetDisplayModes(std::vector<DisplayMode>& modes)
|
||||||
XRRScreenConfiguration* config = ::XRRGetScreenInfo(disp, RootWindow(disp, scr));
|
XRRScreenConfiguration* config = ::XRRGetScreenInfo(disp, RootWindow(disp, scr));
|
||||||
if (config) {
|
if (config) {
|
||||||
int nbSizes;
|
int nbSizes;
|
||||||
XRRScreenSize* sizes = ::XRRConfigSizes(config, &nbSizes);
|
XRRScreenSize* sizes = ::XRRConfigSizes(config, &nbSizes);
|
||||||
if (sizes && nbSizes > 0) {
|
if (sizes && nbSizes > 0) {
|
||||||
int nbDepths = 0;
|
int nbDepths = 0;
|
||||||
int* depths = ::XListDepths(disp, scr, &nbDepths);
|
int* depths = ::XListDepths(disp, scr, &nbDepths);
|
||||||
|
|
@ -82,7 +82,7 @@ DisplayMode PlatformMisc::GetDesktopMode()
|
||||||
::Rotation rot;
|
::Rotation rot;
|
||||||
int current = XRRConfigCurrentConfiguration(config, &rot);
|
int current = XRRConfigCurrentConfiguration(config, &rot);
|
||||||
|
|
||||||
XRRScreenSize* sizes = ::XRRConfigSizes(config, &nbSizes);
|
XRRScreenSize* sizes = ::XRRConfigSizes(config, &nbSizes);
|
||||||
if (sizes && nbSizes > 0) {
|
if (sizes && nbSizes > 0) {
|
||||||
|
|
||||||
mode = DisplayMode(sizes[current].width, sizes[current].height, DefaultDepth(disp, scr));
|
mode = DisplayMode(sizes[current].width, sizes[current].height, DefaultDepth(disp, scr));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue