diff options
| author | Torbjörn Andersson | 2003-08-23 13:02:21 +0000 |
|---|---|---|
| committer | Torbjörn Andersson | 2003-08-23 13:02:21 +0000 |
| commit | df247cff6259ba24cd5d6704347532b3382f7c53 (patch) | |
| tree | 4c93d5e0ff053a788ac8ac9a05ebf25584b07a1d /sword2/driver/menu.cpp | |
| parent | b113720a6d9ece3306e7d2a0642ada11f87a6728 (diff) | |
| download | scummvm-rg350-df247cff6259ba24cd5d6704347532b3382f7c53.tar.gz scummvm-rg350-df247cff6259ba24cd5d6704347532b3382f7c53.tar.bz2 scummvm-rg350-df247cff6259ba24cd5d6704347532b3382f7c53.zip | |
Unstubbed the Create/Draw/DeleteSurface() functions, and removed some
unnecessary stuff from our own Surface class. The former allows the in-game
dialogs to at least sort of work, and the latter gained me a few frames per
second, according to the built-in FPS counter.
svn-id: r9825
Diffstat (limited to 'sword2/driver/menu.cpp')
| -rw-r--r-- | sword2/driver/menu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/driver/menu.cpp b/sword2/driver/menu.cpp index 9fe3d2ddb6..241866e8f8 100644 --- a/sword2/driver/menu.cpp +++ b/sword2/driver/menu.cpp @@ -246,7 +246,7 @@ int32 ProcessMenu(void) { dst += lpBackBuffer->_width; } } - lpBackBuffer->upload(&r); + UploadRect(&r); } } curx += (RDMENU_ICONSPACING + RDMENU_ICONWIDE); |
