From 931bc2823602bb5d685f150c4bad13aa22ed7980 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Tue, 7 Oct 2014 16:49:56 +0200 Subject: [PATCH] (Null gfx context driver) Prevent excess elements when HAVE_EGL is not defined --- gfx/context/gfx_null_ctx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gfx/context/gfx_null_ctx.c b/gfx/context/gfx_null_ctx.c index a07d01fe47..ce588d8fcc 100644 --- a/gfx/context/gfx_null_ctx.c +++ b/gfx/context/gfx_null_ctx.c @@ -136,8 +136,10 @@ const gfx_ctx_driver_t gfx_ctx_null = { gfx_ctx_null_swap_buffers, gfx_ctx_null_input_driver, NULL, +#ifdef HAVE_EGL NULL, NULL, +#endif gfx_ctx_null_show_mouse, "null", gfx_ctx_null_bind_hw_render,