Browse Source

Don't accidentally enable point smoothing on setMode

--HG--
branch : minor
Alex Szpakowski 11 years ago
parent
commit
3551438e9f
1 changed files with 0 additions and 5 deletions
  1. 0 5
      src/modules/graphics/opengl/Graphics.cpp

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

@@ -201,11 +201,6 @@ bool Graphics::setMode(int width, int height, bool &sRGB)
 	// Enable all color component writes.
 	setColorMask(true, true, true, true);
 
-	// Enable line/point smoothing.
-	setLineStyle(LINE_SMOOTH);
-	glEnable(GL_POINT_SMOOTH);
-	glHint(GL_POINT_SMOOTH_HINT, GL_NICEST);
-
 	// Auto-generated mipmaps should be the best quality possible
 	glHint(GL_GENERATE_MIPMAP_HINT, GL_NICEST);