mirror of https://github.com/vitalif/openscad
Fix #1 of 2 in 25081 (OffscreenContextGLX.cc)
parent
a1a238a9cd
commit
365c562a17
|
@ -237,6 +237,7 @@ bool create_glx_dummy_window(OffscreenContext &ctx)
|
||||||
// this call alters ctx->xDisplay and ctx->openGLContext
|
// this call alters ctx->xDisplay and ctx->openGLContext
|
||||||
// and ctx->xwindow if successfull
|
// and ctx->xwindow if successfull
|
||||||
if (!create_glx_dummy_context( *ctx )) {
|
if (!create_glx_dummy_context( *ctx )) {
|
||||||
|
delete ctx;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue