From 672cdd0ef5455cd62a0d7f7eb6b9889f3ea35f21 Mon Sep 17 00:00:00 2001 From: Brad Davis Date: Sun, 13 Oct 2013 20:28:58 -0700 Subject: Updating to cmake, glew, xrandr --- Samples/CommonSrc/Platform/Platform_Default.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'Samples/CommonSrc/Platform/Platform_Default.h') 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 -- cgit v1.2.3