diff options
author | wm4 <wm4@nowhere> | 2013-09-12 00:57:32 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-09-12 01:34:42 +0200 |
commit | beb1aa59885bb84ace9a055963af0fc756e69547 (patch) | |
tree | 71ef56f983d19ef85963a0690a5bde4abb3d6454 /video/out/gl_common.h | |
parent | 057407a39f160bfd2dd3911dfaa81c750f991ada (diff) | |
download | mpv-beb1aa59885bb84ace9a055963af0fc756e69547.tar.bz2 mpv-beb1aa59885bb84ace9a055963af0fc756e69547.tar.xz |
gl_common: complete mp_msg conversion
Hopefully this works on Wayland and Cocoa, which I didn't test.
Diffstat (limited to 'video/out/gl_common.h')
-rw-r--r-- | video/out/gl_common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/gl_common.h b/video/out/gl_common.h index 3e3bb8a8e8..beb18fb10d 100644 --- a/video/out/gl_common.h +++ b/video/out/gl_common.h @@ -64,7 +64,7 @@ void glClearTex(GL *gl, GLenum target, GLenum format, GLenum type, int x, int y, int w, int h, uint8_t val, void **scratch); void glDownloadTex(GL *gl, GLenum target, GLenum format, GLenum type, void *dataptr, int stride); -void glCheckError(GL *gl, const char *info); +void glCheckError(GL *gl, struct mp_log *log, const char *info); mp_image_t *glGetWindowScreenshot(GL *gl); #define GL_3D_RED_CYAN 1 @@ -167,7 +167,7 @@ void mpgl_set_backend_wayland(MPGLContext *ctx); void *mp_getdladdr(const char *s); void mpgl_load_functions(GL *gl, void *(*getProcAddress)(const GLubyte *), - const char *ext2); + const char *ext2, struct mp_log *log); // print a multi line string with line numbers (e.g. for shader sources) // log, lev: module and log level, as in mp_msg() |