[Misc] (...): Fix CMake error. Fix unexpected error.

This commit is contained in:
BZLZHH
2025-08-06 18:04:11 +08:00
parent 25fa70ff9d
commit 75f0d27ca7
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -13,3 +13,4 @@ MobileGLCodeManager.*
MobileGLCodeManager
.vscode
.clangd
MobileGL/MG_Test/build
@@ -36,6 +36,7 @@ namespace MobileGL {
return m_bindingSlots[i];
}
}
return m_bindingSlots[0]; // Fallback to the first slot if not found
}
void BufferState::MarkBufferObjectForDeletion(Uint index) {
+1
View File
@@ -8,6 +8,7 @@ include(FetchContent)
FetchContent_Declare(
googletest
URL https://github.com/google/googletest/archive/03597a01ee50ed33e9dfd640b249b4be3799d395.zip
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
)
# For Windows: Prevent overriding the parent project's compiler/linker settings
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)