diff options
author | Petri Hintukainen <phintuka@users.sourceforge.net> | 2014-05-15 21:17:30 +0300 |
---|---|---|
committer | Petri Hintukainen <phintuka@users.sourceforge.net> | 2014-05-15 21:17:30 +0300 |
commit | 7aec1541305c1a07b40e47a0a6834bd1e6fc599f (patch) | |
tree | 4f4a7ab132ee161272474448557a9292565c3b4c /src | |
parent | 5c44f418e693bc2a82d50b50da5f2d9d9383354b (diff) | |
download | xine-lib-7aec1541305c1a07b40e47a0a6834bd1e6fc599f.tar.gz xine-lib-7aec1541305c1a07b40e47a0a6834bd1e6fc599f.tar.bz2 |
video_out_opengl2: set deleted texture handle to 0
Diffstat (limited to 'src')
-rw-r--r-- | src/video_out/video_out_opengl2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_out/video_out_opengl2.c b/src/video_out/video_out_opengl2.c index 982cfe0bd..b020394ab 100644 --- a/src/video_out/video_out_opengl2.c +++ b/src/video_out/video_out_opengl2.c @@ -639,6 +639,7 @@ static void opengl2_overlay_end (vo_driver_t *this_gen, vo_frame_t *vo_img) this->overlays[i].ovl_w = 0; this->overlays[i].ovl_h = 0; glDeleteTextures( 1, &this->overlays[i].tex ); + this->overlays[i].tex = 0; } glXMakeCurrent( this->display, None, NULL ); |