mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-28 23:38:21 +00:00
update submodules , fixed sdl update , rewrote config with new toml11 v4
This commit is contained in:
parent
ab56665d4b
commit
5a68224a13
8 changed files with 55 additions and 69 deletions
|
@ -45,8 +45,8 @@ WindowSDL::WindowSDL(s32 width_, s32 height_, Input::GameController* controller_
|
|||
|
||||
#if defined(SDL_PLATFORM_WIN32)
|
||||
window_info.type = WindowSystemType::Windows;
|
||||
window_info.render_surface =
|
||||
SDL_GetProperty(SDL_GetWindowProperties(window), SDL_PROP_WINDOW_WIN32_HWND_POINTER, NULL);
|
||||
window_info.render_surface = SDL_GetPointerProperty(SDL_GetWindowProperties(window),
|
||||
SDL_PROP_WINDOW_WIN32_HWND_POINTER, NULL);
|
||||
#elif defined(SDL_PLATFORM_LINUX)
|
||||
if (SDL_strcmp(SDL_GetCurrentVideoDriver(), "x11") == 0) {
|
||||
window_info.type = WindowSystemType::X11;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue