mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2024-12-04 19:23:28 +01:00
fix logging
This commit is contained in:
parent
eeb8be6a8e
commit
a9e56b9e25
@ -198,7 +198,7 @@ FilesystemService::fs_file_t FilesystemService::open(const char* filepath, Files
|
||||
phys_file = PHYSFS_openAppend(filepath);
|
||||
break;
|
||||
default:
|
||||
LOG_ERROR("invalid fopen mode {} for '{}'", t, filepath);
|
||||
LOG_ERROR("invalid fopen mode {} for '{}'", static_cast<int>(t), filepath);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
@ -152,7 +152,7 @@ bool SDLService::createGLContext(SDL_Window* win_ptr) {
|
||||
|
||||
TracyGpuContext;
|
||||
|
||||
LOG_INFO("gl: {}", glGetString(GL_VERSION));
|
||||
LOG_INFO("gl: {}", reinterpret_cast<const char*>(glGetString(GL_VERSION)));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user