Renamed ENABLE_RGB_COLOR to USE_RGB_COLOR, and added it to config.h to guarantee a consistent build.
svn-id: r43604
This commit is contained in:
parent
c0d9543345
commit
007f68366f
21 changed files with 55 additions and 53 deletions
|
@ -130,7 +130,7 @@ void initGraphics(int width, int height, bool defaultTo1xScaler, const Graphics:
|
|||
g_system->beginGFXTransaction();
|
||||
|
||||
initCommonGFX(defaultTo1xScaler);
|
||||
#ifdef ENABLE_RGB_COLOR
|
||||
#ifdef USE_RGB_COLOR
|
||||
if (format)
|
||||
g_system->initSize(width, height, format);
|
||||
else {
|
||||
|
@ -160,7 +160,7 @@ void initGraphics(int width, int height, bool defaultTo1xScaler, const Graphics:
|
|||
}
|
||||
|
||||
// Just show warnings then these occur:
|
||||
#ifdef ENABLE_RGB_COLOR
|
||||
#ifdef USE_RGB_COLOR
|
||||
if (gfxError & OSystem::kTransactionFormatNotSupported) {
|
||||
Common::String message = "Could not initialize color format.";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue