annotate src/main/win32/version.rc @ 4099:822f9624f984 SDL-1.2

Brian Fisher fixed bug #513 If an app requests a 24-bit opengl mode on a machine with a 32-bit desktop with the windib video backend, then when exiting fullscreen the desktop resolution is not restored The reason this is, is because the windib backend restores the desktop resolution when exiting fullscreen in DIB_SetVideoMode when it finds that the last request was for fullscreen by checking the original flags on the video surface. However, if the bits per pixel requested is different than current surface, the video surface is recreated and the original video flags are lost. So the check to see if we were exiting fullscreen fails. below is a patch to SDL_dibvideo.c that solves the problem by using the original flags in all cases. thanks!
author Sam Lantinga <slouken@libsdl.org>
date Fri, 28 Dec 2007 08:00:30 +0000
parents 37345dc3dd83
children 42f34d595d8b
rev   line source
4089
37345dc3dd83 Switched afxres.h to winresrc.h
Sam Lantinga <slouken@libsdl.org>
parents: 4078
diff changeset
1
37345dc3dd83 Switched afxres.h to winresrc.h
Sam Lantinga <slouken@libsdl.org>
parents: 4078
diff changeset
2 #include "winresrc.h"
4078
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
3
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
4 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
5
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
6 /////////////////////////////////////////////////////////////////////////////
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
7 //
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
8 // Version
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
9 //
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
10
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
11 VS_VERSION_INFO VERSIONINFO
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
12 FILEVERSION 1,2,12,0
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
13 PRODUCTVERSION 1,2,12,0
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
14 FILEFLAGSMASK 0x3fL
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
15 FILEFLAGS 0x0L
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
16 FILEOS 0x40004L
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
17 FILETYPE 0x2L
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
18 FILESUBTYPE 0x0L
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
19 BEGIN
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
20 BLOCK "StringFileInfo"
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
21 BEGIN
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
22 BLOCK "040904b0"
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
23 BEGIN
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
24 VALUE "CompanyName", "\0"
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
25 VALUE "FileDescription", "SDL\0"
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
26 VALUE "FileVersion", "1, 2, 12, 0\0"
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
27 VALUE "InternalName", "SDL\0"
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
28 VALUE "LegalCopyright", "Copyright © 2007 Sam Lantinga\0"
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
29 VALUE "OriginalFilename", "SDL.dll\0"
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
30 VALUE "ProductName", "Simple DirectMedia Layer\0"
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
31 VALUE "ProductVersion", "1, 2, 12, 0\0"
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
32 END
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
33 END
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
34 BLOCK "VarFileInfo"
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
35 BEGIN
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
36 VALUE "Translation", 0x409, 1200
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
37 END
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
38 END