Difference between revisions of "API-Truecolor"

Jump to navigation Jump to search
(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);