Skip to content

Commit

Permalink
Revert 9573f96
Browse files Browse the repository at this point in the history
if the context is changed externally, it should be restored externally
as well.

fixes:
"the steam overlay makes an injection on wglMakeCurrent and does it's
setup, causing very low fps."
  • Loading branch information
paroj committed Dec 13, 2016
1 parent 3d7b675 commit e43561c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions RenderSystems/GL/src/OgreGLRenderSystem.cpp
Expand Up @@ -2058,8 +2058,6 @@ namespace Ogre {
"Cannot begin frame - no viewport selected.",
"GLRenderSystem::_beginFrame");

mCurrentContext->setCurrent();

// Activate the viewport clipping
mScissorsEnabled = true;
mStateCacheManager->setEnabled(GL_SCISSOR_TEST, true);
Expand Down

0 comments on commit e43561c

Please sign in to comment.