X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=context.cpp;fp=context.cpp;h=ea576cd73ff09e6756e0b141bd693d7db8b35239;hb=8b098c0c040147d98db10ed6e1e817ac2d39e377;hp=6ce57446b08983c670a3c7b7c99aaf452cc0fe61;hpb=3f34da3ebb9a6fd1ed267f9186d17433321a9214;p=nageru diff --git a/context.cpp b/context.cpp index 6ce5744..ea576cd 100644 --- a/context.cpp +++ b/context.cpp @@ -35,3 +35,8 @@ bool make_current(QOpenGLContext *context, QSurface *surface) { return context->makeCurrent(surface); } + +void delete_context(QOpenGLContext *context) +{ + delete context; +}