diff options
author | David Robillard <d@drobilla.net> | 2019-07-26 23:11:17 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-07-28 19:06:39 +0200 |
commit | ffdc710f20ce8016bf5daeaf97cb75bcb479a22d (patch) | |
tree | 6b4bf3fa7912f1d8f55a7d54a3b88c526752983f /pugl/pugl_x11_gl.c | |
parent | a84fe498ef7e8786455cf480bb865e1708465207 (diff) | |
download | pugl-ffdc710f20ce8016bf5daeaf97cb75bcb479a22d.tar.gz pugl-ffdc710f20ce8016bf5daeaf97cb75bcb479a22d.tar.bz2 pugl-ffdc710f20ce8016bf5daeaf97cb75bcb479a22d.zip |
Rename PuglDrawContext to PuglBackend
This name was pretty confusing since there is already the concept of a
"context".
Diffstat (limited to 'pugl/pugl_x11_gl.c')
-rw-r--r-- | pugl/pugl_x11_gl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pugl/pugl_x11_gl.c b/pugl/pugl_x11_gl.c index 06b4b2e..66ba213 100644 --- a/pugl/pugl_x11_gl.c +++ b/pugl/pugl_x11_gl.c @@ -193,9 +193,9 @@ puglGetProcAddress(const char* name) return glXGetProcAddress((const GLubyte*)name); } -PuglDrawContext puglGetX11GlDrawContext(void) +PuglBackend puglGetX11GlBackend(void) { - static const PuglDrawContext puglX11GlDrawContext = { + static const PuglBackend puglX11GlBackend = { puglX11GlConfigure, puglX11GlCreate, puglX11GlDestroy, @@ -205,5 +205,5 @@ PuglDrawContext puglGetX11GlDrawContext(void) puglX11GlGetHandle }; - return puglX11GlDrawContext; + return puglX11GlBackend; } |