(wgl_ctx) Remove HAVE_EGL code portions

This commit is contained in:
twinaphex 2013-04-06 23:29:05 +02:00
parent 2ab049fd05
commit c56f4ddb92

View File

@ -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",
};