diff options
author | wm4 <wm4@nowhere> | 2015-09-10 20:52:50 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-09-10 20:52:50 +0200 |
commit | e2139488ff79c667e32b1eaf9984c5342eae0132 (patch) | |
tree | e07046c7426c8d7329ec519b97e66a79a93c7876 /video/out/opengl/utils.h | |
parent | f1205293a70b13f53bfce0a1a9859132b8421443 (diff) | |
download | mpv-e2139488ff79c667e32b1eaf9984c5342eae0132.tar.bz2 mpv-e2139488ff79c667e32b1eaf9984c5342eae0132.tar.xz |
vo_opengl: move sampler type mapping to a function
Diffstat (limited to 'video/out/opengl/utils.h')
-rw-r--r-- | video/out/opengl/utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/opengl/utils.h b/video/out/opengl/utils.h index f560354bb9..75cedd6efe 100644 --- a/video/out/opengl/utils.h +++ b/video/out/opengl/utils.h @@ -39,6 +39,8 @@ void glClearTex(GL *gl, GLenum target, GLenum format, GLenum type, mp_image_t *glGetWindowScreenshot(GL *gl); +const char* mp_sampler_type(GLenum texture_target); + // print a multi line string with line numbers (e.g. for shader sources) // log, lev: module and log level, as in mp_msg() void mp_log_source(struct mp_log *log, int lev, const char *src); |