diff options
author | wm4 <wm4@nowhere> | 2016-05-23 21:25:43 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-05-23 21:27:18 +0200 |
commit | c4707cdee66ebb3023ed97e033df7c68d147c17d (patch) | |
tree | f555f44f6c2b699641d0af8f7ec6684e2b3efc2b /video/out/opengl/hwdec_vdpau.c | |
parent | e76aa7e8dbb3da3a6f7ea8a20adb7ae70ef9a8e3 (diff) | |
download | mpv-c4707cdee66ebb3023ed97e033df7c68d147c17d.tar.bz2 mpv-c4707cdee66ebb3023ed97e033df7c68d147c17d.tar.xz |
vo_opengl: fix other minor namespace issues
See previous commit.
Diffstat (limited to 'video/out/opengl/hwdec_vdpau.c')
-rw-r--r-- | video/out/opengl/hwdec_vdpau.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/video/out/opengl/hwdec_vdpau.c b/video/out/opengl/hwdec_vdpau.c index 7f61134376..f0bc4a6cdd 100644 --- a/video/out/opengl/hwdec_vdpau.c +++ b/video/out/opengl/hwdec_vdpau.c @@ -76,14 +76,14 @@ static void destroy_objects(struct gl_hwdec *hw) } p->vdp_surface = VDP_INVALID_HANDLE; - glCheckError(gl, hw->log, "Before uninitializing OpenGL interop"); + gl_check_error(gl, hw->log, "Before uninitializing OpenGL interop"); if (p->vdpgl_initialized) gl->VDPAUFiniNV(); p->vdpgl_initialized = false; - glCheckError(gl, hw->log, "After uninitializing OpenGL interop"); + gl_check_error(gl, hw->log, "After uninitializing OpenGL interop"); } static void destroy(struct gl_hwdec *hw) @@ -164,7 +164,7 @@ static int reinit(struct gl_hwdec *hw, struct mp_image_params *params) gl->VDPAUSurfaceAccessNV(p->vdpgl_surface, GL_READ_ONLY); - glCheckError(gl, hw->log, "After initializing vdpau OpenGL interop"); + gl_check_error(gl, hw->log, "After initializing vdpau OpenGL interop"); params->imgfmt = IMGFMT_RGB0; |