Crashed here in threaded video mode

This commit is contained in:
twinaphex 2015-05-09 12:35:06 +02:00
parent dbdffb91c0
commit 31498e825f

View File

@ -1087,6 +1087,7 @@ void *rarch_threaded_video_get_ptr(const video_driver_t **drv)
if (drv) if (drv)
*drv = thr->driver; *drv = thr->driver;
if (!thr)
return NULL;
return thr->driver_data; return thr->driver_data;
} }