Prevent unused variable warning

This commit is contained in:
Twinaphex 2015-06-20 16:21:26 +02:00
parent c6fe0a0203
commit 0b4237b8a9

View File

@ -1646,6 +1646,8 @@ static void *xmb_init(void)
gl_t *gl = (gl_t*)
video_driver_get_ptr(&video_driver);
(void)scale_factor;
if (video_driver != &video_gl || !gl)
{
RARCH_ERR("Cannot initialize XMB menu driver: GL video driver is not active.\n");