summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-08-07 19:24:25 +0200
committerwm4 <wm4@nowhere>2017-08-07 19:24:25 +0200
commit168ffbaf23a26699140e3588dc80a6cd30cb59a9 (patch)
tree24d46834879ac1e182af5555764bc577653f85a6 /video/out
parentd45fbecbb5d8ba2c782cc419fa386f78b9473d82 (diff)
downloadmpv-168ffbaf23a26699140e3588dc80a6cd30cb59a9.tar.bz2
mpv-168ffbaf23a26699140e3588dc80a6cd30cb59a9.tar.xz
client API: more opengl_cb clarifications
Also fix a typo in ra_gl.c. Too greedy for a separate commit.
Diffstat (limited to 'video/out')
-rw-r--r--video/out/opengl/ra_gl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/opengl/ra_gl.c b/video/out/opengl/ra_gl.c
index f0b47c795e..6509d9043a 100644
--- a/video/out/opengl/ra_gl.c
+++ b/video/out/opengl/ra_gl.c
@@ -235,7 +235,7 @@ static struct ra_tex *gl_tex_create(struct ra *ra,
gl->GenFramebuffers(1, &tex_gl->fbo);
gl->BindFramebuffer(GL_FRAMEBUFFER, tex_gl->fbo);
gl->FramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0,
- GL_TEXTURE_2D, tex_gl->texture, 0);
+ GL_TEXTURE_2D, tex_gl->texture, 0);
GLenum err = gl->CheckFramebufferStatus(GL_FRAMEBUFFER);
gl->BindFramebuffer(GL_FRAMEBUFFER, 0);