TinyGL: Support for different color modes, first part.

This commit is contained in:
Giulio Camuffo 2012-01-16 17:12:14 +01:00
parent d35a890f46
commit 158a19df31
24 changed files with 521 additions and 272 deletions

View file

@ -29,6 +29,7 @@
#include "audio/mixer.h"
#include "graphics/pixelformat.h"
#include "graphics/pixelbuffer.h"
ModularBackend::ModularBackend()
:
@ -68,7 +69,7 @@ void ModularBackend::launcherInitSize(uint w, uint h) {
_graphicsManager->launcherInitSize(w, h);
}
byte *ModularBackend::setupScreen(int screenW, int screenH, bool fullscreen, bool accel3d) {
Graphics::PixelBuffer ModularBackend::setupScreen(int screenW, int screenH, bool fullscreen, bool accel3d) {
return _graphicsManager->setupScreen(screenW, screenH, fullscreen, accel3d);
}