From beb1aa59885bb84ace9a055963af0fc756e69547 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 12 Sep 2013 00:57:32 +0200 Subject: gl_common: complete mp_msg conversion Hopefully this works on Wayland and Cocoa, which I didn't test. --- video/out/gl_common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'video/out/gl_common.h') 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() -- cgit v1.2.3