fix logging

This commit is contained in:
Green Sky 2022-11-08 18:02:01 +01:00
parent eeb8be6a8e
commit a9e56b9e25
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -198,7 +198,7 @@ FilesystemService::fs_file_t FilesystemService::open(const char* filepath, Files
phys_file = PHYSFS_openAppend(filepath); phys_file = PHYSFS_openAppend(filepath);
break; break;
default: default:
LOG_ERROR("invalid fopen mode {} for '{}'", t, filepath); LOG_ERROR("invalid fopen mode {} for '{}'", static_cast<int>(t), filepath);
return nullptr; return nullptr;
} }

View File

@ -152,7 +152,7 @@ bool SDLService::createGLContext(SDL_Window* win_ptr) {
TracyGpuContext; TracyGpuContext;
LOG_INFO("gl: {}", glGetString(GL_VERSION)); LOG_INFO("gl: {}", reinterpret_cast<const char*>(glGetString(GL_VERSION)));
return true; return true;
} }