aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo/vo_gl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_gl.c')
-rw-r--r--libvo/vo_gl.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c
index a05bbee9d5..170c8d3c54 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -15,9 +15,6 @@
#include "video_out.h"
#include "video_out_internal.h"
-
-LIBVO_EXTERN(gl)
-
#include <X11/Xlib.h>
#include <X11/Xutil.h>
//#include <X11/keysym.h>
@@ -30,7 +27,7 @@ LIBVO_EXTERN(gl)
#include "x11_common.h"
#include "aspect.h"
-static vo_info_t vo_info =
+static vo_info_t info =
{
"X11 (OpenGL)",
"gl",
@@ -38,6 +35,8 @@ static vo_info_t vo_info =
""
};
+LIBVO_EXTERN(gl)
+
/* local data */
static unsigned char *ImageData=NULL;
@@ -245,12 +244,6 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin
return 0;
}
-static const vo_info_t*
-get_info(void)
-{
- return &vo_info;
-}
-
static void check_events(void)
{
int e=vo_x11_check_events(mDisplay);