mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-24 03:24:50 +00:00
Enabled RGB color support in SCI engine, corrected SCI engine's initGraphics call for modified API
svn-id: r41911
This commit is contained in:
parent
853aec05ba
commit
39e957d313
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="8,00"
|
||||
Version="8.00"
|
||||
Name="sci"
|
||||
ProjectGUID="{53F17B2B-0412-4EC3-A999-ED0537BB5223}"
|
||||
RootNamespace="sci"
|
||||
@ -43,7 +43,7 @@
|
||||
Optimization="0"
|
||||
InlineFunctionExpansion="0"
|
||||
AdditionalIncludeDirectories="../../;../../engines"
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;USE_ZLIB;USE_MAD;USE_VORBIS"
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;USE_ZLIB;USE_MAD;USE_VORBIS;ENABLE_RGB_COLOR"
|
||||
MinimalRebuild="true"
|
||||
ExceptionHandling="1"
|
||||
BasicRuntimeChecks="3"
|
||||
|
@ -105,7 +105,7 @@ Common::Error SciEngine::run() {
|
||||
Graphics::PixelFormat gfxmode;
|
||||
#ifdef ENABLE_RGB_COLOR
|
||||
gfxmode = _system->getSupportedFormats().front();
|
||||
initGraphics(320, 200, false, gfxmode);
|
||||
initGraphics(320, 200, false, &gfxmode);
|
||||
// TODO: check if this succeeded? (How?)
|
||||
#else
|
||||
gfxmode = Graphics::PixelFormat::createFormatCLUT8();
|
||||
|
Loading…
x
Reference in New Issue
Block a user