mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-13 17:47:12 -04:00
iOS/macOS: Add other game mode keys to info.plist
This commit is contained in:
parent
4b01fa8556
commit
321a829243
@ -20,6 +20,10 @@
|
|||||||
<string>1</string>
|
<string>1</string>
|
||||||
<key>LSApplicationCategoryType</key>
|
<key>LSApplicationCategoryType</key>
|
||||||
<string>public.app-category.games</string>
|
<string>public.app-category.games</string>
|
||||||
|
<key>GCSupportsGameMode</key>
|
||||||
|
<true/>
|
||||||
|
<key>LSSupportsGameMode</key>
|
||||||
|
<true/>
|
||||||
<key>LSRequiresIPhoneOS</key>
|
<key>LSRequiresIPhoneOS</key>
|
||||||
<false/>
|
<false/>
|
||||||
<key>NSPhotoLibraryAddUsageDescription</key>
|
<key>NSPhotoLibraryAddUsageDescription</key>
|
||||||
|
@ -18,5 +18,9 @@
|
|||||||
<string>ClassiCube</string>
|
<string>ClassiCube</string>
|
||||||
<key>LSApplicationCategoryType</key>
|
<key>LSApplicationCategoryType</key>
|
||||||
<string>public.app-category.games</string>
|
<string>public.app-category.games</string>
|
||||||
|
<key>GCSupportsGameMode</key>
|
||||||
|
<true/>
|
||||||
|
<key>LSSupportsGameMode</key>
|
||||||
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
@ -483,12 +483,6 @@ void Gfx_SetViewport(int x, int y, int w, int h) {
|
|||||||
offset[3] = 0.0f;
|
offset[3] = 0.0f;
|
||||||
|
|
||||||
rsxSetViewport(context, x, y, w, h, zmin, zmax, scale, offset);
|
rsxSetViewport(context, x, y, w, h, zmin, zmax, scale, offset);
|
||||||
|
|
||||||
// TODO: even needed?
|
|
||||||
for (int i = 0; i < 8; i++)
|
|
||||||
{
|
|
||||||
rsxSetViewportClip(context, i, w, h);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Gfx_SetScissor(int x, int y, int w, int h) {
|
void Gfx_SetScissor(int x, int y, int w, int h) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user