From 168ffbaf23a26699140e3588dc80a6cd30cb59a9 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 7 Aug 2017 19:24:25 +0200 Subject: client API: more opengl_cb clarifications Also fix a typo in ra_gl.c. Too greedy for a separate commit. --- video/out/opengl/ra_gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video') 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); -- cgit v1.2.3