X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=context.h;h=0c92a602716f263f4ad6237da871a84bb767f976;hb=3dfe3da9659a3f67e3ecdfd14cca7377ed1d84b7;hp=c670473015054c4156fadc39f6337b6318b17012;hpb=95295bd41bc711bbc450ac6f5ccc68e64fefffa3;p=nageru diff --git a/context.h b/context.h index c670473..0c92a60 100644 --- 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);