(D3D) Buildfix

This commit is contained in:
twinaphex 2015-07-11 19:47:20 +02:00
parent 70607acb6b
commit 6e63f562ea
2 changed files with 4 additions and 2 deletions

View File

@ -20,6 +20,8 @@
#include <xgraphics.h>
#endif
#include <formats/image.h>
#include "d3d.h"
#include "../video_viewport.h"
#include "../video_monitor.h"
@ -1521,7 +1523,7 @@ static bool d3d_overlay_load(void *data,
{
unsigned i, y;
d3d_video_t *d3d = (d3d_video_t*)data;
const texture_image *images = (const texture_image*)
const struct texture_image *images = (const struct texture_image*)
image_data;
if (!d3d)

View File

@ -183,7 +183,7 @@ input_driver_t *input_driver_get_ptr(void)
driver_t *driver = driver_get_ptr();
if (!driver)
return NULL;
return driver->input_data;
return (input_driver_t*)driver->input_data;
}
/**