]> git.sesse.net Git - nageru/blobdiff - context.h
Mark API entry points in theme.lua clearly as such.
[nageru] / context.h
index c670473015054c4156fadc39f6337b6318b17012..0c92a602716f263f4ad6237da871a84bb767f976 100644 (file)
--- a/context.h
+++ b/context.h
@@ -9,5 +9,5 @@ class QGLWidget;
 
 extern QGLWidget *global_share_widget;
 QSurface *create_surface(const QSurfaceFormat &format);
-QOpenGLContext *create_context();
+QOpenGLContext *create_context(const QSurface *surface);
 bool make_current(QOpenGLContext *context, QSurface *surface);