From 55d425807f6f1784d6ffd84586ae7efd77c1b352 Mon Sep 17 00:00:00 2001 From: BastiaanOlij Date: Wed, 4 Jan 2017 21:56:56 +1100 Subject: First set of changes to fix compilation errors and initialise the gles3 renderer for Mac OS X. Still broken at this point. --- platform/windows/os_windows.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'platform/windows') diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index 445f4fc328..cfa73b5e0e 100644 --- a/platform/windows/os_windows.cpp +++ b/platform/windows/os_windows.cpp @@ -1087,13 +1087,15 @@ void OS_Windows::initialize(const VideoMode& p_desired,int p_video_driver,int p_ RasterizerGLES3::make_current(); #else - #ifdef DX9_ENABLED + // FIXME: Does DX support still work now that rasterizer is no longer used? +#ifdef DX9_ENABLED rasterizer = memnew( RasterizerDX9(hWnd) ); - #endif +#endif #endif visual_server = memnew( VisualServerRaster ); - //if (get_render_thread_mode()!=RENDER_THREAD_UNSAFE) { + // FIXME: Reimplement threaded rendering? Or remove? +// if (get_render_thread_mode()!=RENDER_THREAD_UNSAFE) { // // visual_server =memnew(VisualServerWrapMT(visual_server,get_render_thread_mode()==RENDER_SEPARATE_THREAD)); // } -- cgit v1.2.3