summaryrefslogtreecommitdiff
path: root/src/text_gltex.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2013-02-08 16:14:48 +0100
committerDavid Herrmann <dh.herrmann@googlemail.com>2013-02-08 16:14:48 +0100
commit577a9b4c41e6d0b8ee6a281877e5366be96803d6 (patch)
treee0c772fd006e7e67dcb2a4a7dc61e359f6dd02a1 /src/text_gltex.c
parent36f9d2d0b1bcc66572ddba0241558f2ca176897c (diff)
llog: add "data" parameter to pass context
If we allow users to specify log functions, we should also allow them to pass a context. This isn't used internally, but may be needed by external users so provide it. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Diffstat (limited to 'src/text_gltex.c')
-rw-r--r--src/text_gltex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text_gltex.c b/src/text_gltex.c
index d7e2330..3151ec6 100644
--- a/src/text_gltex.c
+++ b/src/text_gltex.c
@@ -174,7 +174,7 @@ static int gltex_set(struct kmscon_text *txt)
gl_clear_error();
ret = gl_shader_new(&gt->shader, gl_static_gltex_vert,
- gl_static_gltex_frag, attr, 4, log_llog);
+ gl_static_gltex_frag, attr, 4, log_llog, NULL);
if (ret)
goto err_bold_htable;