aboutsummaryrefslogtreecommitdiffhomepage
path: root/video/out/opengl/ra_gl.h
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2017-08-04 13:48:37 +0200
committerGravatar wm4 <wm4@nowhere>2017-08-05 13:09:05 +0200
commita796745fd272701c9ed435337a161f643d34a26a (patch)
tree058da9d1be62c4a65e9881aa751897e19cae2f94 /video/out/opengl/ra_gl.h
parent90b53fede618772d39ff964b12e6403d71f7f235 (diff)
vo_opengl: make fbotex helper use ra
Further work removing GL dependencies from the actual video renderer, and moving them into ra backends. Use of glInvalidateFramebuffer() falls away. I'd like to keep this, but it's better to readd it once shader runs are in ra.
Diffstat (limited to 'video/out/opengl/ra_gl.h')
-rw-r--r--video/out/opengl/ra_gl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/opengl/ra_gl.h b/video/out/opengl/ra_gl.h
index 9d5cb23fb7..d17b576afc 100644
--- a/video/out/opengl/ra_gl.h
+++ b/video/out/opengl/ra_gl.h
@@ -13,6 +13,7 @@ struct ra_gl {
struct ra_tex_gl {
GLenum target;
GLuint texture;
+ GLuint fbo; // 0 if no rendering requested
// These 3 fields can be 0 if unknown.
GLint internal_format;
GLenum format;