From 839142b752ba991c42d4e68d43e65182c0a14846 Mon Sep 17 00:00:00 2001 From: Benau Date: Wed, 11 Oct 2017 11:25:28 +0800 Subject: [PATCH] Add up-to-date restriction for hd3000 in windows --- data/graphical_restrictions.xml | 3 +-- src/graphics/post_processing.cpp | 5 ----- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/data/graphical_restrictions.xml b/data/graphical_restrictions.xml index d45e2da4d..6f532c8ad 100644 --- a/data/graphical_restrictions.xml +++ b/data/graphical_restrictions.xml @@ -7,8 +7,7 @@ - - + diff --git a/src/graphics/post_processing.cpp b/src/graphics/post_processing.cpp index 0ed9f4206..5e380b58b 100644 --- a/src/graphics/post_processing.cpp +++ b/src/graphics/post_processing.cpp @@ -1573,11 +1573,6 @@ FrameBuffer *PostProcessing::render(scene::ICameraSceneNode * const camnode, PROFILER_POP_CPU_MARKER(); } - // Workaround a bug with srgb fbo on sandy bridge windows - if (GraphicsRestrictions::isDisabled(GraphicsRestrictions::GR_FRAMEBUFFER_SRGB_WORKAROUND1) && - CVS->isARBSRGBFramebufferUsable()) - return in_fbo; - #if !defined(USE_GLES2) if (CVS->isARBSRGBFramebufferUsable()) glEnable(GL_FRAMEBUFFER_SRGB);