Browse Source

Fixed the default blend mode (and other related state)

Alex Szpakowski 12 years ago
parent
commit
c1cbd610e6
1 changed files with 0 additions and 4 deletions
  1. 0 4
      src/modules/graphics/opengl/Graphics.cpp

+ 0 - 4
src/modules/graphics/opengl/Graphics.cpp

@@ -124,10 +124,6 @@ void Graphics::restoreState(const DisplayState &s)
 
 bool Graphics::setMode(int width, int height)
 {
-	DisplayState tempState;
-	if (isCreated())
-		savedState = saveState();
-
 	this->width = width;
 	this->height = height;