summaryrefslogtreecommitdiff
path: root/src/graphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-18 02:06:44 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-18 02:06:44 +0300
commit2257406db0fd374e929def04525671c2826306c2 (patch)
tree0df3ef6435664fc962b772302e716adf01855825 /src/graphics.cpp
parent4cd44430deb5a7efc030839a133fe8510327fc24 (diff)
downloadplus-2257406db0fd374e929def04525671c2826306c2.tar.gz
plus-2257406db0fd374e929def04525671c2826306c2.tar.bz2
plus-2257406db0fd374e929def04525671c2826306c2.tar.xz
plus-2257406db0fd374e929def04525671c2826306c2.zip
Fix code style.
Diffstat (limited to 'src/graphics.cpp')
-rw-r--r--src/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics.cpp b/src/graphics.cpp
index e98b1a283..5241bbcc6 100644
--- a/src/graphics.cpp
+++ b/src/graphics.cpp
@@ -112,7 +112,7 @@ bool Graphics::setVideoMode(int w, int h, int bpp, bool fs,
if (mTarget->format)
{
logger->log("Bits per pixel: %d", mTarget->format->BytesPerPixel);
- bpp = mTarget->format->BytesPerPixel;
+// bpp = mTarget->format->BytesPerPixel;
}
const SDL_VideoInfo *vi = SDL_GetVideoInfo();