From 714a4aa3f76dcd2d245fb1d060c1ae614e740a1d Mon Sep 17 00:00:00 2001 From: Themaister Date: Sun, 24 Mar 2013 02:24:53 +0100 Subject: [PATCH] Fix build for drivers. --- gfx/d3d9/d3d9.cpp | 5 +++++ gfx/sdl_gfx.c | 6 ++++++ gfx/xvideo.c | 6 ++++++ 3 files changed, 17 insertions(+) diff --git a/gfx/d3d9/d3d9.cpp b/gfx/d3d9/d3d9.cpp index ecd8cd515f..0ef2495c3c 100644 --- a/gfx/d3d9/d3d9.cpp +++ b/gfx/d3d9/d3d9.cpp @@ -1251,6 +1251,11 @@ const video_driver_t video_d3d9 = { d3d9_set_shader, d3d9_free, "d3d9", +#ifdef HAVE_RGUI + NULL, + NULL, + NULL, +#endif d3d9_set_rotation, d3d9_viewport_info, d3d9_read_viewport, diff --git a/gfx/sdl_gfx.c b/gfx/sdl_gfx.c index 2b2319af86..a1cd9ff059 100644 --- a/gfx/sdl_gfx.c +++ b/gfx/sdl_gfx.c @@ -355,6 +355,12 @@ const video_driver_t video_sdl = { sdl_gfx_free, "sdl", +#ifdef HAVE_RGUI + NULL, + NULL, + NULL, +#endif + NULL, sdl_gfx_viewport_info, }; diff --git a/gfx/xvideo.c b/gfx/xvideo.c index 99fda76791..87b85cbc22 100644 --- a/gfx/xvideo.c +++ b/gfx/xvideo.c @@ -789,6 +789,12 @@ const video_driver_t video_xvideo = { xv_free, "xvideo", +#ifdef HAVE_RGUI + NULL, + NULL, + NULL, +#endif + NULL, xv_viewport_info, };