Files
@ r23882:d683a0787bc9
Branch filter:
Location: cpp/openttd-patchpack/source/projects/settings_vs140.vcxproj.filters - annotation
r23882:d683a0787bc9
1.1 KiB
text/plain
Codechange: Don't use SDL_CreateRGBSurfaceWithFormat()
This function requires libSDL 2.0.5 or higher. It looks like we don't
need to use it, and can just use the original SDL_CreateRGBSurface(),
with the masks set to 0, to trigger the default 8-bit format, which is
SDL_PIXELFORMAT_INDEX8.
Closes #7785
Note: this code path is activated by using an 8-bit blitter, like:
./bin/openttd -b 8bpp-simple
This function requires libSDL 2.0.5 or higher. It looks like we don't
need to use it, and can just use the original SDL_CreateRGBSurface(),
with the masks set to 0, to trigger the default 8-bit format, which is
SDL_PIXELFORMAT_INDEX8.
Closes #7785
Note: this code path is activated by using an 8-bit blitter, like:
./bin/openttd -b 8bpp-simple
r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 r22202:ce851635a099 | <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="INI">
<UniqueIdentifier>{21deca6c-8df4-4f34-9dad-17d7781cd5a0}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<None Include="..\src\table\company_settings.ini">
<Filter>INI</Filter>
</None>
<None Include="..\src\table\currency_settings.ini">
<Filter>INI</Filter>
</None>
<None Include="..\src\table\gameopt_settings.ini">
<Filter>INI</Filter>
</None>
<None Include="..\src\table\misc_settings.ini">
<Filter>INI</Filter>
</None>
<None Include="..\src\table\settings.ini">
<Filter>INI</Filter>
</None>
<None Include="..\src\table\win32_settings.ini">
<Filter>INI</Filter>
</None>
<None Include="..\src\table\window_settings.ini">
<Filter>INI</Filter>
</None>
</ItemGroup>
<ItemGroup>
<None Include="..\src\table\settings.h.postamble" />
<None Include="..\src\table\settings.h.preamble" />
</ItemGroup>
</Project>
|