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

View File

@ -7,8 +7,7 @@
<card is="Intel(R) HD Graphics 2000" os="windows" disable="FramebufferSRGBWorkaround1"/> <card is="Intel(R) HD Graphics 2000" os="windows" disable="FramebufferSRGBWorkaround1"/>
<card is="Intel(R) HD Graphics 2000" os="windows" disable="HighDefinitionTextures"/> <card is="Intel(R) HD Graphics 2000" os="windows" disable="HighDefinitionTextures"/>
<card is="Intel(R) HD Graphics 3000" os="windows" disable="UniformBufferObject"/> <card is="Intel(R) HD Graphics 3000" os="windows" disable="UniformBufferObject"/>
<card is="Intel(R) HD Graphics 3000" os="windows" disable="AdvancedPipeline"/> <card is="Intel(R) HD Graphics 3000" os="windows" disable="FramebufferSRGB"/>
<card is="Intel(R) HD Graphics 3000" os="windows" disable="FramebufferSRGBWorkaround1"/>
<card is="Intel(R) HD Graphics 3000" os="windows" disable="HighDefinitionTextures"/> <card is="Intel(R) HD Graphics 3000" os="windows" disable="HighDefinitionTextures"/>
<card is="Intel(R) HD Graphics 4600" os="windows" disable="ComputeShader"/> <card is="Intel(R) HD Graphics 4600" os="windows" disable="ComputeShader"/>
<card contains="Intel" os="osx" disable="GI"/> <card contains="Intel" os="osx" disable="GI"/>

View File

@ -1573,11 +1573,6 @@ FrameBuffer *PostProcessing::render(scene::ICameraSceneNode * const camnode,
PROFILER_POP_CPU_MARKER(); 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 !defined(USE_GLES2)
if (CVS->isARBSRGBFramebufferUsable()) if (CVS->isARBSRGBFramebufferUsable())
glEnable(GL_FRAMEBUFFER_SRGB); glEnable(GL_FRAMEBUFFER_SRGB);