From 5bf5c7d79088440b877918b2f5b9671110f5a59d Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 19 Nov 2015 15:40:13 +0100 Subject: [PATCH] (mali_fbdev) Cleanup --- gfx/drivers_context/mali_fbdev_ctx.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/gfx/drivers_context/mali_fbdev_ctx.c b/gfx/drivers_context/mali_fbdev_ctx.c index 41b4157d3a..140d15bb6d 100644 --- a/gfx/drivers_context/mali_fbdev_ctx.c +++ b/gfx/drivers_context/mali_fbdev_ctx.c @@ -68,14 +68,8 @@ static void gfx_ctx_mali_fbdev_get_video_size(void *data, { (void)data; - *width = 0; - *height = 0; - - if (g_egl_dpy != EGL_NO_DISPLAY && g_egl_surf != EGL_NO_SURFACE) - { - *width = g_width; - *height = g_height; - } + *width = g_width; + *height = g_height; } static bool gfx_ctx_mali_fbdev_init(void *data)