Add up-to-date restriction for hd3000 in windows

This commit is contained in:
Benau
2017-10-11 11:25:28 +08:00
parent ae4e302741
commit 839142b752
2 changed files with 1 additions and 7 deletions
-5
View File
@@ -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);