mirror of
https://github.com/NoelFB/blah.git
synced 2024-11-25 16:18:57 +08:00
fixed incorrect enum names in SDL2 platform
This commit is contained in:
parent
65f7194e4f
commit
78b8140f53
|
@ -654,13 +654,13 @@ bool PlatformBackend::file_open(const char* path, PlatformBackend::FileHandle* h
|
|||
case FileMode::OpenRead:
|
||||
sdl_mode = "rb";
|
||||
break;
|
||||
case FileMode::OpenReadWrite:
|
||||
case FileMode::Open:
|
||||
sdl_mode = "r+b";
|
||||
break;
|
||||
case FileMode::CreateWrite:
|
||||
sdl_mode = "wb";
|
||||
break;
|
||||
case FileMode::CreateReadWrite:
|
||||
case FileMode::Create:
|
||||
sdl_mode = "w+b";
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user