diff options
author | Filippos Karapetis | 2009-03-18 11:07:29 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-03-18 11:07:29 +0000 |
commit | c9eff6e1f87231f63b3cd4a5dce4b04ffac96075 (patch) | |
tree | 85bd3b70fd6ea022d3ae4876dae33e25df7bf40e /engines/sci/gfx/gfx_driver.cpp | |
parent | 739181c3b7bdc9dac18c696e0928819a836e1bf0 (diff) | |
download | scummvm-rg350-c9eff6e1f87231f63b3cd4a5dce4b04ffac96075.tar.gz scummvm-rg350-c9eff6e1f87231f63b3cd4a5dce4b04ffac96075.tar.bz2 scummvm-rg350-c9eff6e1f87231f63b3cd4a5dce4b04ffac96075.zip |
Cleaned up graphics initialization a bit
svn-id: r39513
Diffstat (limited to 'engines/sci/gfx/gfx_driver.cpp')
-rw-r--r-- | engines/sci/gfx/gfx_driver.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/engines/sci/gfx/gfx_driver.cpp b/engines/sci/gfx/gfx_driver.cpp index 985033de09..95c1db3d94 100644 --- a/engines/sci/gfx/gfx_driver.cpp +++ b/engines/sci/gfx/gfx_driver.cpp @@ -43,7 +43,7 @@ struct _scummvm_driver_state { #define S ((struct _scummvm_driver_state *)(drv->state)) -static int scummvm_init_specific(gfx_driver_t *drv, int xfact, int yfact, int bytespp) { +static int scummvm_init(gfx_driver_t *drv, int xfact, int yfact, int bytespp) { int i; if (!drv->state) // = S @@ -86,10 +86,6 @@ static int scummvm_init_specific(gfx_driver_t *drv, int xfact, int yfact, int by return GFX_OK; } -static int scummvm_init(gfx_driver_t *drv) { - return scummvm_init_specific(drv, 1, 1, GFX_COLOR_MODE_INDEX); -} - static void scummvm_exit(gfx_driver_t *drv) { int i; if (S) { @@ -331,7 +327,6 @@ gfx_driver_t gfx_driver_scummvm = { 0, // flags here 0, NULL, - scummvm_init_specific, scummvm_init, scummvm_exit, scummvm_draw_line, |