mirror of
https://github.com/libretro/RetroArch
synced 2025-04-02 07:20:34 +00:00
(menu_display_gl) Remove unused pointer variable
This commit is contained in:
parent
b25e2ce4e8
commit
d19aebc0bf
@ -98,10 +98,9 @@ static void menu_display_gl_blend_end(video_frame_info_t *video_info)
|
|||||||
|
|
||||||
static void menu_display_gl_viewport(void *data)
|
static void menu_display_gl_viewport(void *data)
|
||||||
{
|
{
|
||||||
gl_t *gl = (gl_t*)video_driver_get_ptr(false);
|
|
||||||
menu_display_ctx_draw_t *draw = (menu_display_ctx_draw_t*)data;
|
menu_display_ctx_draw_t *draw = (menu_display_ctx_draw_t*)data;
|
||||||
|
|
||||||
if (!gl || !draw)
|
if (!draw)
|
||||||
return;
|
return;
|
||||||
glViewport(draw->x, draw->y, draw->width, draw->height);
|
glViewport(draw->x, draw->y, draw->width, draw->height);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user