Buildfixes/cleanups

This commit is contained in:
twinaphex 2018-01-25 12:30:08 +01:00
parent 4315b57791
commit 495c702860
2 changed files with 4 additions and 0 deletions

View File

@ -569,6 +569,7 @@ static void win32_set_droppable(ui_window_win32_t *window, bool droppable)
DragAcceptFiles_func(window->hwnd, droppable);
}
#ifdef HAVE_D3D
LRESULT CALLBACK WndProcD3D(HWND hwnd, UINT message,
WPARAM wparam, LPARAM lparam)
{

View File

@ -27,6 +27,7 @@
#include <string/stdstring.h>
#include "../drivers/d3d.h"
#include "../common/d3d_common.h"
#include "../common/win32_common.h"
#include "../../configuration.h"
@ -186,6 +187,8 @@ static bool gfx_ctx_d3d_bind_api(void *data,
if (api == GFX_CTX_DIRECT3D9_API)
return true;
break;
default:
break;
}
return false;