diff options
author | wm4 <wm4@nowhere> | 2017-03-20 13:20:35 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-03-20 13:20:35 +0100 |
commit | 03fe50651baeb506ca8b6fb2b597598a096be2f6 (patch) | |
tree | da80b86a36f0d8e7cef50475279345a6da4c6b33 /video/out/opengl/utils.h | |
parent | 80b89cef615aa158459ff589d25a82768609bd53 (diff) | |
download | mpv-03fe50651baeb506ca8b6fb2b597598a096be2f6.tar.bz2 mpv-03fe50651baeb506ca8b6fb2b597598a096be2f6.tar.xz |
vo_opengl: move some init_gl code to utility functions
Diffstat (limited to 'video/out/opengl/utils.h')
-rw-r--r-- | video/out/opengl/utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/video/out/opengl/utils.h b/video/out/opengl/utils.h index f4e522cdf7..069844caa6 100644 --- a/video/out/opengl/utils.h +++ b/video/out/opengl/utils.h @@ -200,4 +200,7 @@ void gl_pbo_upload_tex(struct gl_pbo_upload *pbo, GL *gl, bool use_pbo, int x, int y, int w, int h); void gl_pbo_upload_uninit(struct gl_pbo_upload *pbo); +int gl_determine_16bit_tex_depth(GL *gl); +int gl_get_fb_depth(GL *gl, int fbo); + #endif |