Buildfixes/cleanups
This commit is contained in:
parent
4315b57791
commit
495c702860
|
@ -569,6 +569,7 @@ static void win32_set_droppable(ui_window_win32_t *window, bool droppable)
|
||||||
DragAcceptFiles_func(window->hwnd, droppable);
|
DragAcceptFiles_func(window->hwnd, droppable);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_D3D
|
||||||
LRESULT CALLBACK WndProcD3D(HWND hwnd, UINT message,
|
LRESULT CALLBACK WndProcD3D(HWND hwnd, UINT message,
|
||||||
WPARAM wparam, LPARAM lparam)
|
WPARAM wparam, LPARAM lparam)
|
||||||
{
|
{
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
#include <string/stdstring.h>
|
#include <string/stdstring.h>
|
||||||
|
|
||||||
#include "../drivers/d3d.h"
|
#include "../drivers/d3d.h"
|
||||||
|
#include "../common/d3d_common.h"
|
||||||
#include "../common/win32_common.h"
|
#include "../common/win32_common.h"
|
||||||
|
|
||||||
#include "../../configuration.h"
|
#include "../../configuration.h"
|
||||||
|
@ -186,6 +187,8 @@ static bool gfx_ctx_d3d_bind_api(void *data,
|
||||||
if (api == GFX_CTX_DIRECT3D9_API)
|
if (api == GFX_CTX_DIRECT3D9_API)
|
||||||
return true;
|
return true;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue