diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-02-21 14:44:39 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-02-21 14:44:39 +0000 |
commit | cdfb0214ba6e03f39af9dea94f120c9339838fce (patch) | |
tree | 2633655ab8397c9bdf136cf39ca8c07eae22292d /libvo/vo_gl2.c | |
parent | ed329f9be7c0dc77dbe804971d73c49b101d2656 (diff) | |
download | mpv-cdfb0214ba6e03f39af9dea94f120c9339838fce.tar.bz2 mpv-cdfb0214ba6e03f39af9dea94f120c9339838fce.tar.xz |
Remove a lot of duplicate code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14748 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_gl2.c')
-rw-r--r-- | libvo/vo_gl2.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/libvo/vo_gl2.c b/libvo/vo_gl2.c index c4128d7415..03b894171b 100644 --- a/libvo/vo_gl2.c +++ b/libvo/vo_gl2.c @@ -20,23 +20,9 @@ #include "Gui/interface.h" #endif -#include <GL/gl.h> -#ifdef GL_WIN32 - #include <windows.h> - #include <GL/glext.h> -#else - #include <X11/Xlib.h> - #include <X11/Xutil.h> - #include <GL/glx.h> -#endif #include <errno.h> #include "gl_common.h" -#ifdef GL_WIN32 - #include "w32_common.h" -#else - #include "x11_common.h" -#endif #include "aspect.h" #define NDEBUG @@ -632,7 +618,6 @@ static int config_w32(uint32_t width, uint32_t height, uint32_t d_width, uint32_ vo_dwidth = d_width; vo_dheight = d_height; - destroyRenderingContext(); if (!createRenderingContext()) return -1; |