From 03fe50651baeb506ca8b6fb2b597598a096be2f6 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 20 Mar 2017 13:20:35 +0100 Subject: vo_opengl: move some init_gl code to utility functions --- video/out/opengl/utils.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'video/out/opengl/utils.h') 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 -- cgit v1.2.3