C89_BUILD fixes

This commit is contained in:
twinaphex 2016-05-09 05:50:08 +02:00
parent 44ed8d1116
commit e87f030246
2 changed files with 4 additions and 3 deletions

View File

@ -1574,9 +1574,10 @@ bool video_driver_find_driver(void)
if (video_driver_is_hw_context())
{
current_video = NULL;
struct retro_hw_render_callback *hwr = video_driver_get_hw_context();
current_video = NULL;
if (hwr && hw_render_context_is_vulkan(hwr->context_type))
{
#if defined(HAVE_VULKAN)

View File

@ -41,7 +41,7 @@ enum
CF3Y = (27),
CF3Z = (-3),
CF2A = (139),
CF2B = (-11),
CF2B = (-11)
};
enum
@ -51,7 +51,7 @@ enum
W3 = 2408,
W5 = 1609,
W6 = 1108,
W7 = 565,
W7 = 565
};
struct rjpeg_vlc_code