DXGL r572 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r571‎ | r572 | r573 >
Date:16:08, 6 December 2014
Author:admin
Status:new
Tags:
Comment:
Temporarily disable 15-bit color modes.
Modified paths:
  • /ddraw/glDirectDraw.cpp (modified) (history)
  • /dxgl.sln (modified) (history)

Diff [purge]

Index: ddraw/glDirectDraw.cpp
@@ -252,7 +252,7 @@
253253 count2++;
254254 }
255255 break;
256 - case 16:
 256+/* case 16:
257257 compmode = (*array)[i];
258258 compmode.dmBitsPerPel = 15;
259259 if(!ScanModeList(*array,compmode,*count))
@@ -260,7 +260,7 @@
261261 array2[count2] = compmode;
262262 count2++;
263263 }
264 - break;
 264+ break;*/
265265 case 24:
266266 compmode = (*array)[i];
267267 compmode.dmBitsPerPel = 32;
@@ -286,13 +286,13 @@
287287 count2++;
288288 }
289289 compmode = (*array)[i];
290 - compmode.dmBitsPerPel = 15;
 290+/* compmode.dmBitsPerPel = 15;
291291 if(!ScanModeList(*array,compmode,*count))
292292 {
293293 array2[count2] = compmode;
294294 count2++;
295295 }
296 - compmode = (*array)[i];
 296+ compmode = (*array)[i];*/
297297 compmode.dmBitsPerPel = 8;
298298 if(!ScanModeList(*array,compmode,*count))
299299 {
Index: dxgl.sln
@@ -1,7 +1,7 @@
22 
33 Microsoft Visual Studio Solution File, Format Version 12.00
4 -# Visual Studio Express 2013 for Windows Desktop
5 -VisualStudioVersion = 12.0.30723.0
 4+# Visual Studio 2013
 5+VisualStudioVersion = 12.0.31101.0
66 MinimumVisualStudioVersion = 10.0.40219.1
77 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ddraw", "ddraw\ddraw.vcxproj", "{9F051466-EA2C-4195-80B1-1B7C5B3F4AC2}"
88 ProjectSection(ProjectDependencies) = postProject
@@ -167,8 +167,8 @@
168168 {C59AC409-F7D0-4153-9874-184CA00D537B}.Debug no DXGL|Win32.Build.0 = Debug no DXGL|Win32
169169 {C59AC409-F7D0-4153-9874-184CA00D537B}.Debug No MSVCRT|Win32.ActiveCfg = Debug No MSVCRT|Win32
170170 {C59AC409-F7D0-4153-9874-184CA00D537B}.Debug No MSVCRT|Win32.Build.0 = Debug No MSVCRT|Win32
171 - {C59AC409-F7D0-4153-9874-184CA00D537B}.Debug Trace|Win32.ActiveCfg = Debug No MSVCRT|Win32
172 - {C59AC409-F7D0-4153-9874-184CA00D537B}.Debug Trace|Win32.Build.0 = Debug No MSVCRT|Win32
 171+ {C59AC409-F7D0-4153-9874-184CA00D537B}.Debug Trace|Win32.ActiveCfg = Debug|Win32
 172+ {C59AC409-F7D0-4153-9874-184CA00D537B}.Debug Trace|Win32.Build.0 = Debug|Win32
173173 {C59AC409-F7D0-4153-9874-184CA00D537B}.Debug|Win32.ActiveCfg = Debug|Win32
174174 {C59AC409-F7D0-4153-9874-184CA00D537B}.Debug|Win32.Build.0 = Debug|Win32
175175 {C59AC409-F7D0-4153-9874-184CA00D537B}.Release no DXGL|Win32.ActiveCfg = Release no DXGL|Win32