fixup extra stuff + enable gamemode

This commit is contained in:
lizzie 2025-11-28 05:48:00 +00:00
parent ebf7eeee7e
commit 629ca92420
2 changed files with 13 additions and 3 deletions

View File

@ -433,9 +433,9 @@ VkResult Free(VkDevice device, VkCommandPool handle, Span<VkCommandBuffer> buffe
Instance Instance::Create(u32 version, Span<const char*> layers, Span<const char*> extensions,
InstanceDispatch& dispatch) {
VkFlags ci_flags{};
// #ifdef __APPLE__
// ci_flags |= VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR;
// #endif
#ifdef __APPLE__
ci_flags |= VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR;
#endif
// DO NOT TOUCH, breaks RNDA3!!
// Don't know why, but gloom + yellow line glitch appears
const VkApplicationInfo application_info{

View File

@ -186,5 +186,15 @@ SPDX-License-Identifier: GPL-2.0-or-later
</dict>
</dict>
</array>
<!-- ITS -->
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<!-- GC -->
<!-- Game mode is supposed to be automatically enabled by the app category specification above,
but for some reason it needs to be explicitly enabled with this key. -->
<key>GCSupportsGameMode</key>
<true/>
</dict>
</plist>