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.h | |
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.h')
-rw-r--r-- | engines/sci/gfx/gfx_driver.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/engines/sci/gfx/gfx_driver.h b/engines/sci/gfx/gfx_driver.h index e61f305e66..84b8526b7c 100644 --- a/engines/sci/gfx/gfx_driver.h +++ b/engines/sci/gfx/gfx_driver.h @@ -111,7 +111,7 @@ struct gfx_driver_t { /* Graphics driver */ ** console). */ - int (*init_specific)(gfx_driver_t *drv, int xres, int yres, + int (*init)(gfx_driver_t *drv, int xres, int yres, int bytespp); /* Attempts to initialize a specific graphics mode ** Parameters: (gfx_driver_t *) drv: The affected driver @@ -129,18 +129,6 @@ struct gfx_driver_t { /* Graphics driver */ ** specified in gfx_tools.h. */ - int (*init)(gfx_driver_t *drv); - /* Initialize any graphics mode - ** Parameters: (gfx_driver_t *) drv: The affected driver - ** Returns : (int) GFX_OK on success, GFX_FATAL otherwise. - ** This function attempts to set /any/ graphics mode, starting with the one - ** most 'natural' to the graphics target. Target implementors have relatively - ** free reign in choosing the heuristics used to determine the resulting - ** mode. - ** Must also set drv->mode, preferably with the gfx_new_mode() function - ** specified in gfx_tools.h. - */ - void (*exit)(gfx_driver_t *drv); /* Uninitializes the current graphics mode ** Paramters: (gfx_driver_t *) drv: The driver to uninitialize |