diff --git a/Graphics/PixelBuffer.h b/Graphics/PixelBuffer.h
index 7c5ce42be869a334af7df7de3667b288d5591095..3a55b05fa2ce7582043755681dd86274e23e0514 100644
--- a/Graphics/PixelBuffer.h
+++ b/Graphics/PixelBuffer.h
@@ -113,9 +113,9 @@ class PixelBuffer{
       }
       ClearOpengl();
       Draw3d();
-      //Draw2d();
+      Draw2d();
       glFinish();
-      //OSMesaDestroyContext(ctx);
+      OSMesaDestroyContext(ctx);
 #else
       Msg(WARNING, "Offscreen rendering not available in this version");
 #endif