ソースを参照

Fixed the default blend mode (and other related state)

Alex Szpakowski 12 年 前
コミット
c1cbd610e6
1 ファイル変更0 行追加4 行削除
  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;