mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-30 19:50:24 +00:00
(GL) Conditional no longer needed - check is done outside in
video_driver_frame
This commit is contained in:
parent
4f6a3532f6
commit
436536398a
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user