annotate Xcode-iPhoneOS/SDL/testsdl-Info.plist @ 5043:da347bfed240

Florian Forster to sdl in SDL 1.3 (revision 5508 from SVN), the method used to calculate the bits per pixel from a “int format” differ between “SDL_ListModes” (which always uses the “SDL_BITSPERPIXEL” macro) and “SDL_PixelFormatEnumTo- Masks” (which uses either “SDL_BITSPERPIXEL” or “SDL_BYTESPERPIXEL * 8”, depending on the value of “SDL_BYTESPERPIXEL”). Because the values are later compared in “SDL_ListModes” this may lead to some valid video modes not being returned. In my case the only mode returned by “SDL_GetNumDisplayModes” was dismissed and NULL was returned. (This led to the calling application sticking its head in the sand.) The attached patch copies the method used within “SDL_PixelFormatEnumTo- Masks” to “SDL_ListModes”. This solved the problem for me though I don't fully understand the method used by “SDL_PixelFormatEnumToMasks”.
author Sam Lantinga <slouken@libsdl.org>
date Wed, 19 Jan 2011 16:06:47 -0800
parents 2efcb52ba90a
children
rev   line source
4448
2efcb52ba90a Adding testsdl (automated test) support to iPhone Xcode project (to match Mac Xcode project).
Eric Wing <ewing . public |-at-| gmail . com>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
2efcb52ba90a Adding testsdl (automated test) support to iPhone Xcode project (to match Mac Xcode project).
Eric Wing <ewing . public |-at-| gmail . com>
parents:
diff changeset
2 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
2efcb52ba90a Adding testsdl (automated test) support to iPhone Xcode project (to match Mac Xcode project).
Eric Wing <ewing . public |-at-| gmail . com>
parents:
diff changeset
3 <plist version="1.0">
2efcb52ba90a Adding testsdl (automated test) support to iPhone Xcode project (to match Mac Xcode project).
Eric Wing <ewing . public |-at-| gmail . com>
parents:
diff changeset
4 <dict>
2efcb52ba90a Adding testsdl (automated test) support to iPhone Xcode project (to match Mac Xcode project).
Eric Wing <ewing . public |-at-| gmail . com>
parents:
diff changeset
5 <key>CFBundleDevelopmentRegion</key>
2efcb52ba90a Adding testsdl (automated test) support to iPhone Xcode project (to match Mac Xcode project).
Eric Wing <ewing . public |-at-| gmail . com>
parents:
diff changeset
6 <string>English</string>
2efcb52ba90a Adding testsdl (automated test) support to iPhone Xcode project (to match Mac Xcode project).
Eric Wing <ewing . public |-at-| gmail . com>
parents:
diff changeset
7 <key>CFBundleExecutable</key>
2efcb52ba90a Adding testsdl (automated test) support to iPhone Xcode project (to match Mac Xcode project).
Eric Wing <ewing . public |-at-| gmail . com>
parents:
diff changeset
8 <string>${EXECUTABLE_NAME}</string>
2efcb52ba90a Adding testsdl (automated test) support to iPhone Xcode project (to match Mac Xcode project).
Eric Wing <ewing . public |-at-| gmail . com>
parents:
diff changeset
9 <key>CFBundleIdentifier</key>
2efcb52ba90a Adding testsdl (automated test) support to iPhone Xcode project (to match Mac Xcode project).
Eric Wing <ewing . public |-at-| gmail . com>
parents:
diff changeset
10 <string>com.yourcompany.${PRODUCT_NAME:identifier}</string>
2efcb52ba90a Adding testsdl (automated test) support to iPhone Xcode project (to match Mac Xcode project).
Eric Wing <ewing . public |-at-| gmail . com>
parents:
diff changeset
11 <key>CFBundleInfoDictionaryVersion</key>
2efcb52ba90a Adding testsdl (automated test) support to iPhone Xcode project (to match Mac Xcode project).
Eric Wing <ewing . public |-at-| gmail . com>
parents:
diff changeset
12 <string>6.0</string>
2efcb52ba90a Adding testsdl (automated test) support to iPhone Xcode project (to match Mac Xcode project).
Eric Wing <ewing . public |-at-| gmail . com>
parents:
diff changeset
13 <key>CFBundlePackageType</key>
2efcb52ba90a Adding testsdl (automated test) support to iPhone Xcode project (to match Mac Xcode project).
Eric Wing <ewing . public |-at-| gmail . com>
parents:
diff changeset
14 <string>APPL</string>
2efcb52ba90a Adding testsdl (automated test) support to iPhone Xcode project (to match Mac Xcode project).
Eric Wing <ewing . public |-at-| gmail . com>
parents:
diff changeset
15 <key>CFBundleSignature</key>
2efcb52ba90a Adding testsdl (automated test) support to iPhone Xcode project (to match Mac Xcode project).
Eric Wing <ewing . public |-at-| gmail . com>
parents:
diff changeset
16 <string>????</string>
2efcb52ba90a Adding testsdl (automated test) support to iPhone Xcode project (to match Mac Xcode project).
Eric Wing <ewing . public |-at-| gmail . com>
parents:
diff changeset
17 <key>CFBundleVersion</key>
2efcb52ba90a Adding testsdl (automated test) support to iPhone Xcode project (to match Mac Xcode project).
Eric Wing <ewing . public |-at-| gmail . com>
parents:
diff changeset
18 <string>1.0</string>
2efcb52ba90a Adding testsdl (automated test) support to iPhone Xcode project (to match Mac Xcode project).
Eric Wing <ewing . public |-at-| gmail . com>
parents:
diff changeset
19 <key>NSMainNibFile</key>
2efcb52ba90a Adding testsdl (automated test) support to iPhone Xcode project (to match Mac Xcode project).
Eric Wing <ewing . public |-at-| gmail . com>
parents:
diff changeset
20 <string>MainWindow</string>
2efcb52ba90a Adding testsdl (automated test) support to iPhone Xcode project (to match Mac Xcode project).
Eric Wing <ewing . public |-at-| gmail . com>
parents:
diff changeset
21 </dict>
2efcb52ba90a Adding testsdl (automated test) support to iPhone Xcode project (to match Mac Xcode project).
Eric Wing <ewing . public |-at-| gmail . com>
parents:
diff changeset
22 </plist>