(GL) Conditional no longer needed - check is done outside in

video_driver_frame
This commit is contained in:
twinaphex 2015-03-24 13:37:58 +01:00
parent 4f6a3532f6
commit 436536398a
2 changed files with 3 additions and 5 deletions

View File

@ -1483,9 +1483,6 @@ static bool gl_frame(void *data, const void *frame,
RARCH_PERFORMANCE_INIT(frame_run);
RARCH_PERFORMANCE_START(frame_run);
if (!gl)
return true;
context_bind_hw_render(gl, false);
#ifndef HAVE_OPENGLES

View File

@ -455,8 +455,9 @@ static void sdl_set_aspect_ratio(void *data, unsigned aspectratio_index)
switch (aspectratio_index)
{
case ASPECT_RATIO_SQUARE:
video_viewport_set_square_pixel(global->system.av_info.geometry.base_width,
global->system.av_info.geometry.base_height);
video_viewport_set_square_pixel(
global->system.av_info.geometry.base_width,
global->system.av_info.geometry.base_height);
break;
case ASPECT_RATIO_CORE: