Fixed swizzle of SDL_FillRect() on 24-bit surface (thanks, "nagydavid91"!).
Fixes Bugzilla #2986.
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <ItemGroup Label="ProjectConfigurations">
4 <ProjectConfiguration Include="Debug|Win32">
5 <Configuration>Debug</Configuration>
6 <Platform>Win32</Platform>
7 </ProjectConfiguration>
8 <ProjectConfiguration Include="Debug|x64">
9 <Configuration>Debug</Configuration>
10 <Platform>x64</Platform>
11 </ProjectConfiguration>
12 <ProjectConfiguration Include="Release|Win32">
13 <Configuration>Release</Configuration>
14 <Platform>Win32</Platform>
15 </ProjectConfiguration>
16 <ProjectConfiguration Include="Release|x64">
17 <Configuration>Release</Configuration>
18 <Platform>x64</Platform>
19 </ProjectConfiguration>
21 <PropertyGroup Label="Globals">
22 <ProjectName>SDL2test</ProjectName>
23 <ProjectGuid>{DA956FD3-E143-46F2-9FE5-C77BEBC56B1A}</ProjectGuid>
25 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
26 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
27 <ConfigurationType>StaticLibrary</ConfigurationType>
28 <UseOfMfc>false</UseOfMfc>
29 <PlatformToolset>v110</PlatformToolset>
31 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
32 <ConfigurationType>StaticLibrary</ConfigurationType>
33 <UseOfMfc>false</UseOfMfc>
34 <PlatformToolset>v110</PlatformToolset>
36 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
37 <ConfigurationType>StaticLibrary</ConfigurationType>
38 <UseOfMfc>false</UseOfMfc>
39 <CharacterSet>MultiByte</CharacterSet>
40 <PlatformToolset>v110</PlatformToolset>
42 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
43 <ConfigurationType>StaticLibrary</ConfigurationType>
44 <UseOfMfc>false</UseOfMfc>
45 <PlatformToolset>v110</PlatformToolset>
47 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
48 <ImportGroup Label="ExtensionSettings">
50 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
51 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
52 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
54 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
55 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
56 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
58 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
59 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
60 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
62 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
63 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
64 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
66 <PropertyGroup Label="UserMacros" />
68 <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
69 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)\$(Platform)\$(Configuration)\</OutDir>
70 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</IntDir>
71 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)\$(Platform)\$(Configuration)\</OutDir>
72 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir>
73 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)\$(Platform)\$(Configuration)\</OutDir>
74 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</IntDir>
75 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)\$(Platform)\$(Configuration)\</OutDir>
76 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir>
78 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
81 <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
82 <AdditionalIncludeDirectories>..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
83 <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
84 <StringPooling>true</StringPooling>
85 <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
86 <FunctionLevelLinking>true</FunctionLevelLinking>
89 <WarningLevel>Level3</WarningLevel>
90 <SuppressStartupBanner>true</SuppressStartupBanner>
91 <CompileAs>Default</CompileAs>
92 <DebugInformationFormat>OldStyle</DebugInformationFormat>
93 <ExceptionHandling>false</ExceptionHandling>
94 <OmitDefaultLibName>true</OmitDefaultLibName>
97 <SuppressStartupBanner>true</SuppressStartupBanner>
99 </ItemDefinitionGroup>
100 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
102 <TargetEnvironment>X64</TargetEnvironment>
105 <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
106 <AdditionalIncludeDirectories>..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
107 <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
108 <StringPooling>true</StringPooling>
109 <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
110 <FunctionLevelLinking>true</FunctionLevelLinking>
113 <WarningLevel>Level3</WarningLevel>
114 <SuppressStartupBanner>true</SuppressStartupBanner>
115 <CompileAs>Default</CompileAs>
116 <DebugInformationFormat>OldStyle</DebugInformationFormat>
117 <ExceptionHandling>false</ExceptionHandling>
118 <OmitDefaultLibName>true</OmitDefaultLibName>
121 <SuppressStartupBanner>true</SuppressStartupBanner>
123 </ItemDefinitionGroup>
124 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
127 <Optimization>Disabled</Optimization>
128 <AdditionalIncludeDirectories>..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
129 <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
130 <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
133 <WarningLevel>Level3</WarningLevel>
134 <SuppressStartupBanner>true</SuppressStartupBanner>
135 <DebugInformationFormat>OldStyle</DebugInformationFormat>
136 <CompileAs>Default</CompileAs>
137 <ExceptionHandling>false</ExceptionHandling>
138 <OmitDefaultLibName>true</OmitDefaultLibName>
141 <SuppressStartupBanner>true</SuppressStartupBanner>
143 </ItemDefinitionGroup>
144 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
146 <TargetEnvironment>X64</TargetEnvironment>
149 <Optimization>Disabled</Optimization>
150 <AdditionalIncludeDirectories>..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
151 <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
152 <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
155 <WarningLevel>Level3</WarningLevel>
156 <SuppressStartupBanner>true</SuppressStartupBanner>
157 <DebugInformationFormat>OldStyle</DebugInformationFormat>
158 <CompileAs>Default</CompileAs>
159 <ExceptionHandling>false</ExceptionHandling>
160 <OmitDefaultLibName>true</OmitDefaultLibName>
163 <SuppressStartupBanner>true</SuppressStartupBanner>
165 </ItemDefinitionGroup>
167 <ClInclude Include="..\..\include\SDL_test.h" />
168 <ClInclude Include="..\..\include\SDL_test_assert.h" />
169 <ClInclude Include="..\..\include\SDL_test_common.h" />
170 <ClInclude Include="..\..\include\SDL_test_crc32.h" />
171 <ClInclude Include="..\..\include\SDL_test_font.h" />
172 <ClInclude Include="..\..\include\SDL_test_fuzzer.h" />
173 <ClInclude Include="..\..\include\SDL_test_harness.h" />
174 <ClInclude Include="..\..\include\SDL_test_log.h" />
175 <ClInclude Include="..\..\include\SDL_test_md5.h" />
176 <ClInclude Include="..\..\include\SDL_test_random.h" />
177 <ClInclude Include="..\..\include\SDL_test_images.h" />
178 <ClInclude Include="..\..\include\SDL_test_compare.h" />
181 <ClCompile Include="..\..\src\test\SDL_test_assert.c" />
182 <ClCompile Include="..\..\src\test\SDL_test_common.c" />
183 <ClCompile Include="..\..\src\test\SDL_test_crc32.c" />
184 <ClCompile Include="..\..\src\test\SDL_test_font.c" />
185 <ClCompile Include="..\..\src\test\SDL_test_fuzzer.c" />
186 <ClCompile Include="..\..\src\test\SDL_test_harness.c" />
187 <ClCompile Include="..\..\src\test\SDL_test_log.c" />
188 <ClCompile Include="..\..\src\test\SDL_test_md5.c" />
189 <ClCompile Include="..\..\src\test\SDL_test_random.c" />
190 <ClCompile Include="..\..\src\test\SDL_test_imageBlit.c" />
191 <ClCompile Include="..\..\src\test\SDL_test_imageBlitBlend.c" />
192 <ClCompile Include="..\..\src\test\SDL_test_imageFace.c" />
193 <ClCompile Include="..\..\src\test\SDL_test_imagePrimitives.c" />
194 <ClCompile Include="..\..\src\test\SDL_test_imagePrimitivesBlend.c" />
195 <ClCompile Include="..\..\src\test\SDL_test_compare.c" />
197 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
198 <ImportGroup Label="ExtensionTargets">