diff options
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 |