mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
More CXX_BUILD fixes
This commit is contained in:
parent
81e768435b
commit
611efea2bf
@ -1567,7 +1567,7 @@ void win32_clip_window(bool state)
|
||||
if (state && main_window.hwnd)
|
||||
{
|
||||
PWINDOWINFO info;
|
||||
info = malloc(sizeof(*info));
|
||||
info = (PWINDOWINFO)malloc(sizeof(*info));
|
||||
info->cbSize = sizeof(PWINDOWINFO);
|
||||
|
||||
if (GetWindowInfo(main_window.hwnd, info))
|
||||
|
@ -608,7 +608,7 @@ static bool d3d10_init_swapchain(d3d10_video_t *d3d10,
|
||||
desc.BufferDesc.RefreshRate.Denominator = 1;
|
||||
desc.BufferUsage = DXGI_USAGE_RENDER_TARGET_OUTPUT;
|
||||
#ifdef HAVE_WINDOW
|
||||
desc.OutputWindow = corewindow;
|
||||
desc.OutputWindow = (HWND)corewindow;
|
||||
#endif
|
||||
desc.SampleDesc.Count = 1;
|
||||
desc.SampleDesc.Quality = 0;
|
||||
|
@ -661,7 +661,7 @@ static bool d3d11_init_swapchain(d3d11_video_t* d3d11,
|
||||
#endif
|
||||
desc.BufferUsage = DXGI_USAGE_RENDER_TARGET_OUTPUT;
|
||||
#ifdef HAVE_WINDOW
|
||||
desc.OutputWindow = corewindow;
|
||||
desc.OutputWindow = (HWND)corewindow;
|
||||
#endif
|
||||
desc.SampleDesc.Count = 1;
|
||||
desc.SampleDesc.Quality = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user