diff options
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; } |