aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_gl.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-10-15 08:45:03 +0200
committerDavid Robillard <d@drobilla.net>2020-10-16 18:22:57 +0200
commit06c0bc8af15f9b1d4e1def4ed1450107c1a5caa8 (patch)
treed1c5e8c4010889c20e4e73bf4224f15ff750cd37 /pugl/pugl_gl.h
parent5f8eca211c33a86fc823bd058c17f7e11e70531d (diff)
downloadpugl-06c0bc8af15f9b1d4e1def4ed1450107c1a5caa8.tar.gz
pugl-06c0bc8af15f9b1d4e1def4ed1450107c1a5caa8.tar.bz2
pugl-06c0bc8af15f9b1d4e1def4ed1450107c1a5caa8.zip
Add const attribute to backend accessors
Diffstat (limited to 'pugl/pugl_gl.h')
-rw-r--r--pugl/pugl_gl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pugl/pugl_gl.h b/pugl/pugl_gl.h
index d501b3c..471c5ac 100644
--- a/pugl/pugl_gl.h
+++ b/pugl/pugl_gl.h
@@ -49,7 +49,7 @@ puglGetProcAddress(const char* name);
Pass the return value to puglSetBackend() to draw to a view with OpenGL.
*/
-PUGL_API const PuglBackend*
+PUGL_API PUGL_CONST_FUNC const PuglBackend*
puglGlBackend(void);
PUGL_END_DECLS