summaryrefslogtreecommitdiffstats
path: root/libvo/vo_gl2.c
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-11 15:22:10 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-11 15:22:10 +0000
commit6811f963587915918875b21b93927784a8680dc9 (patch)
treedc0d9fd36677fbf99fe15ebc73dc313eec47b610 /libvo/vo_gl2.c
parent35dc94a7925de590af7e5db55e3b07becfbbe049 (diff)
downloadmpv-6811f963587915918875b21b93927784a8680dc9.tar.bz2
mpv-6811f963587915918875b21b93927784a8680dc9.tar.xz
removed get_info, using the same sheme as in libmpcodecs instead
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8149 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_gl2.c')
-rw-r--r--libvo/vo_gl2.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/libvo/vo_gl2.c b/libvo/vo_gl2.c
index 2a12f555c5..c4624db3a3 100644
--- a/libvo/vo_gl2.c
+++ b/libvo/vo_gl2.c
@@ -17,8 +17,6 @@
#include "video_out_internal.h"
#include "sub.h"
-LIBVO_EXTERN(gl2)
-
#include <X11/Xlib.h>
#include <X11/Xutil.h>
//#include <X11/keysym.h>
@@ -34,7 +32,7 @@ LIBVO_EXTERN(gl2)
#define NDEBUG
//#undef NDEBUG
-static vo_info_t vo_info =
+static vo_info_t info =
{
"X11 (OpenGL) - multiple textures version",
"gl2",
@@ -42,6 +40,8 @@ static vo_info_t vo_info =
""
};
+LIBVO_EXTERN(gl2)
+
/* private prototypes */
static const char * tweaks_used =
@@ -981,12 +981,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 int gl_handlekey(int key)
{
if(key=='a'||key=='A')