diff options
author | Brad Davis <[email protected]> | 2013-10-13 20:28:58 -0700 |
---|---|---|
committer | Brad Davis <[email protected]> | 2013-10-13 20:28:58 -0700 |
commit | 672cdd0ef5455cd62a0d7f7eb6b9889f3ea35f21 (patch) | |
tree | f3454dc864242744aef1ea5474b5011556d0f388 /Samples/CommonSrc/Platform/Platform_Default.h | |
parent | 1408ed7b208c7a1cff1a2448fc890e9b8bd6dc4e (diff) |
Updating to cmake, glew, xrandr
Diffstat (limited to 'Samples/CommonSrc/Platform/Platform_Default.h')
-rw-r--r-- | Samples/CommonSrc/Platform/Platform_Default.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Samples/CommonSrc/Platform/Platform_Default.h b/Samples/CommonSrc/Platform/Platform_Default.h index e4fecf2..75bd1d8 100644 --- a/Samples/CommonSrc/Platform/Platform_Default.h +++ b/Samples/CommonSrc/Platform/Platform_Default.h @@ -3,7 +3,7 @@ Filename : Platform_Default.h Content : Default Platform class and RenderDevice selection file Created : October 4, 2012 -Authors : +Authors : Copyright : Copyright 2012 Oculus VR, Inc. All Rights reserved. @@ -31,7 +31,7 @@ limitations under the License. #include "Win32_Platform.h" #include "../Render/Render_D3D11_Device.h" - #undef OVR_D3D_VERSION + #undef OVR_D3D_VERSION #include "../Render/Render_D3D10_Device.h" // #include "../Render/Render_GL_Win32_Device.h" @@ -46,14 +46,17 @@ limitations under the License. #define OVR_DEFAULT_RENDER_DEVICE_SET \ SetupGraphicsDeviceSet("GL", &OVR::Render::GL::OSX::RenderDevice::CreateDevice) - -#else +#elif defined(OVR_OS_LINUX) #include "Linux_Platform.h" #define OVR_DEFAULT_RENDER_DEVICE_SET \ SetupGraphicsDeviceSet("GL", &OVR::Render::GL::Linux::RenderDevice::CreateDevice) +#else + + #error "Not implemented yet" + #endif #endif // OVR_Platform_Default_h |