ALL: Drop setupScreen API, use new initGraphics3d from engine API.
Enabled system API for begin/end gfx transactions, initSize, setGraphicsMode. Function setGraphicsMode will use optional params to trigger 3d rendering and switch to proper SDL Gfx manager.
This commit is contained in:
parent
a38148e428
commit
d8f2040dba
30 changed files with 347 additions and 222 deletions
|
@ -60,5 +60,6 @@ void initGraphicsModes(const Graphics::ModeList &modes);
|
|||
void initGraphics(int width, int height);
|
||||
void initGraphics(int width, int height, const Graphics::PixelFormat *format);
|
||||
void initGraphics(int width, int height, const Common::List<Graphics::PixelFormat> &formatList);
|
||||
void initGraphics3d(int width, int height, bool fullscreen, bool accel3d); // ResidualVM
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue