Mercurial > hg > dmlib
changeset 596:9861568d87ac
Merged.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 12 Apr 2013 06:06:56 +0300 |
parents | 695a623eed63 (current diff) 935b91d0f508 (diff) |
children | 8a9361179a1a |
files | |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/edmain.cpp Fri Apr 12 06:06:46 2013 +0300 +++ b/edmain.cpp Fri Apr 12 06:06:56 2013 +0300 @@ -185,9 +185,9 @@ } dmPrint(1, "Initializing SDL video %d x %d x %dbpp, flags=0x%08x\n", - engine.optScrWidth, engine.optScrHeight, engine.optBitDepth, engine.optVFlags); + engine.optVidWidth, engine.optVidHeight, engine.optVidDepth, engine.optVFlags); - engine.screen = SDL_CreateRGBSurface(SDL_SWSURFACE, engine.optScrWidth, engine.optScrHeight, engine.optBitDepth, 0, 0, 0, 0); + engine.screen = SDL_CreateRGBSurface(SDL_SWSURFACE, engine.optVidWidth, engine.optVidHeight, engine.optVidDepth, 0, 0, 0, 0); if (engine.screen == NULL) { dmError("Could not allocate video backbuffer surface.\n");