(XDK) Fixes re-entrancy

This commit is contained in:
twinaphex 2013-01-19 12:45:35 +01:00
parent 227ea3ebed
commit 4a2c0ea4f7

View File

@ -137,6 +137,11 @@ static bool hlsl_shader_init(void)
static void xdk_d3d_free(void *data)
{
#ifdef RARCH_CONSOLE
if (driver.video_data)
return;
#endif
xdk_d3d_video_t *d3d = (xdk_d3d_video_t*)data;
if (!d3d)