fixed formatting because nano trolled me

This commit is contained in:
2026-05-12 23:00:43 -05:00
parent 0194699815
commit e6b98362b6

View File

@@ -52,12 +52,12 @@ bool Engine::createInstance() {
for(uint32_t i = 0; i < instanceExtensionsCount; i++) { // for each extension that we require for(uint32_t i = 0; i < instanceExtensionsCount; i++) { // for each extension that we require
bool found = false; bool found = false;
for(const auto& extensionProperty : extensionProperties) { // see if it matches any extensions that are provided for(const auto& extensionProperty : extensionProperties) { // see if it matches any extensions that are provided
if(strcmp(extensionProperty.extensionName, instanceExtensions[i]) == 0) { if(strcmp(extensionProperty.extensionName, instanceExtensions[i]) == 0) {
std::cout << "[" << __FUNCTION__ << ": " << __LINE__ << "] Required SDL3 extension not supported: " << instanceExtensions[i] << std::endl; std::cout << "[" << __FUNCTION__ << ": " << __LINE__ << "] Required SDL3 extension not supported: " << instanceExtensions[i] << std::endl;
} else { } else {
found = true; found = true;
break; break;
} }
} }
if(!found) { if(!found) {
std::cout << "[" << __FUNCTION__ << ": " << __LINE__ << "] Required SDL3 extension not supported: " << instanceExtensions[i] << std::endl; std::cout << "[" << __FUNCTION__ << ": " << __LINE__ << "] Required SDL3 extension not supported: " << instanceExtensions[i] << std::endl;