Fix missing color management in Cycles viewport on macOS.

The half float extension is not supported on macOS, rather it's simply
part of OpenGL core so we don't need to check.
This commit is contained in:
2018-08-21 00:38:54 +02:00
parent 53dfb4895c
commit 3c5365556a

View File

@@ -828,8 +828,7 @@ SessionParams BlenderSync::get_session_params(BL::RenderEngine& b_engine,
params.shadingsystem = SHADINGSYSTEM_OSL;
/* color managagement */
params.display_buffer_linear = GLEW_ARB_half_float_pixel &&
b_engine.support_display_space_shader(b_scene);
params.display_buffer_linear = b_engine.support_display_space_shader(b_scene);
if(b_engine.is_preview()) {
/* For preview rendering we're using same timeout as