aboutsummaryrefslogtreecommitdiffstats
path: root/loadgl.h.in
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2018-03-27 18:39:56 +0100
committerTomasz Kramkowski <tk@the-tk.com>2018-03-27 19:21:17 +0100
commit126c248cf55d10c1584f9bb340144b42ae57e847 (patch)
tree3144da146b96ef6c59526f65dcd9b6559ce880f8 /loadgl.h.in
parent604ae85b6e76befe96036d16c4e3096b966a03e0 (diff)
downloadfaqe-126c248cf55d10c1584f9bb340144b42ae57e847.tar.gz
faqe-126c248cf55d10c1584f9bb340144b42ae57e847.tar.xz
faqe-126c248cf55d10c1584f9bb340144b42ae57e847.zip
Add gl_strerror implementation
gl_strerror takes an OpenGL error enum and acts like strerror.
Diffstat (limited to 'loadgl.h.in')
-rw-r--r--loadgl.h.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/loadgl.h.in b/loadgl.h.in
index e7381cd..e741d5e 100644
--- a/loadgl.h.in
+++ b/loadgl.h.in
@@ -16,6 +16,7 @@ enum lgl_status {
enum lgl_status lgl_load(lgl_loadfunc *load);
const char *lgl_strerror(enum lgl_status status);
+const char *gl_strerror(GLenum error);
#define _LGL_INTERFACE(rett, name, func, ...) \
typedef rett func(__VA_ARGS__); \