Open main menu

Difference between revisions of "API-Truecolor"

1 byte added ,  07:25, 11 July 2009
m
(Updated the reference to reflect API changes regarding initGraphics)
Line 43: Line 43:
Common::Error QuuxEngine::run() {
Common::Error QuuxEngine::run() {
Graphics::PixelFormat ourFormat;
Graphics::PixelFormat ourFormat;
// Request the backend to initialize a 640 x 480 surface with the best available format.
// Request the backend to initialize a 640 x 480 surface with the best available format.
initGraphics(640, 480, true, NULL);
initGraphics(640, 480, true, NULL);
20

edits