diff options
author | Sven Gothel <[email protected]> | 2015-03-28 01:43:35 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-03-28 01:43:35 +0100 |
commit | 4207f9c279e832e3afcb3f5fc6cd8d84cb4cfe4c (patch) | |
tree | cf3671058d55b47ab6cb6f36f369928606137628 /LibOVR/Src/Displays/OVR_Linux_Display.h | |
parent | c29cd1a2fbff6282bab956ad61661ac9d48c4e6e (diff) |
Bump OculusVR RIFT SDK to 0.5.0.1vanilla_0.5.0.1
Diffstat (limited to 'LibOVR/Src/Displays/OVR_Linux_Display.h')
-rw-r--r-- | LibOVR/Src/Displays/OVR_Linux_Display.h | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/LibOVR/Src/Displays/OVR_Linux_Display.h b/LibOVR/Src/Displays/OVR_Linux_Display.h index f685e6b..1ef1dab 100644 --- a/LibOVR/Src/Displays/OVR_Linux_Display.h +++ b/LibOVR/Src/Displays/OVR_Linux_Display.h @@ -33,23 +33,6 @@ namespace OVR { namespace Linux { //------------------------------------------------------------------------------------- -// DisplayDesc - -// Display information enumerable through OS . -// TBD: Should we just move this to public header, so it's a const member of Display? -struct DisplayDesc -{ - HmdTypeEnum DeviceTypeGuess; - String DisplayID; // This is the device identifier string from MONITORINFO (for app usage) - String ModelName; // This is a "DK2" type string - String EdidSerialNumber; - Sizei LogicalResolutionInPixels; - Sizei NativeResolutionInPixels; - Vector2i DesktopDisplayOffset; -}; - - -//------------------------------------------------------------------------------------- // DisplayEDID // Describes EDID information as reported from our display driver. @@ -82,7 +65,7 @@ public: static const int DescArraySize = 16; - Linux::DisplayDesc cachedDescriptorArray[DescArraySize]; + DisplayDesc cachedDescriptorArray[DescArraySize]; bool extended; bool application; int extendedDisplayCount; @@ -102,12 +85,12 @@ public: dd.DisplayID, dd.ModelName, dd.EdidSerialNumber, - dd.LogicalResolutionInPixels, - dd.NativeResolutionInPixels, + dd.ResolutionInPixels, + dd.ResolutionInPixels, dd.DesktopDisplayOffset, 0, - 0, - false) + dd.Rotation, + false) { } |