From c56f4ddb92fa232fc1755f6be1863cda9040038b Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 6 Apr 2013 23:29:05 +0200 Subject: [PATCH] (wgl_ctx) Remove HAVE_EGL code portions --- gfx/context/wgl_ctx.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/gfx/context/wgl_ctx.c b/gfx/context/wgl_ctx.c index d7c85cf521..ce9ec821ac 100644 --- a/gfx/context/wgl_ctx.c +++ b/gfx/context/wgl_ctx.c @@ -429,18 +429,6 @@ static bool gfx_ctx_bind_api(enum gfx_ctx_api api) return api == GFX_CTX_OPENGL_API; } -#ifdef HAVE_EGL -static bool gfx_ctx_init_egl_image_buffer(const video_info_t *video) -{ - return false; -} - -static bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, unsigned index, void **image_handle) -{ - return false; -} -#endif - static void gfx_ctx_show_mouse(bool state) { show_cursor(state); @@ -461,10 +449,6 @@ const gfx_ctx_driver_t gfx_ctx_wgl = { gfx_ctx_swap_buffers, gfx_ctx_input_driver, gfx_ctx_get_proc_address, -#ifdef HAVE_EGL - gfx_ctx_init_egl_image_buffer, - gfx_ctx_write_egl_image, -#endif gfx_ctx_show_mouse, "wgl", };