diff options
Diffstat (limited to 'src/graphics.cpp')
-rw-r--r-- | src/graphics.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/graphics.cpp b/src/graphics.cpp index d94963f06..1d557d897 100644 --- a/src/graphics.cpp +++ b/src/graphics.cpp @@ -282,11 +282,7 @@ bool Graphics::videoInfo() mDoubleBuffer = ((mTarget->flags & SDL_DOUBLEBUF) == SDL_DOUBLEBUF); logger->log("Double buffer mode: %s", mDoubleBuffer ? "yes" : "no"); - if (mTarget->format) - { - logger->log("Bits per pixel: %d", mTarget->format->BytesPerPixel); -// bpp = mTarget->format->BytesPerPixel; - } + Image::dumpSurfaceFormat(mTarget); const SDL_VideoInfo *vi = SDL_GetVideoInfo(); if (!vi) |