From b7f863dc4cdc8c31e23707f216e9ab216595803c Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sat, 28 May 2016 21:46:13 +0200 Subject: [PATCH] Fix the commit 6838 (Fix non optimal position of net name and pad name in GAL mode), broken. --- common/gal/opengl/opengl_gal.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/gal/opengl/opengl_gal.cpp b/common/gal/opengl/opengl_gal.cpp index 73b1b4f805..47c77dc3b1 100644 --- a/common/gal/opengl/opengl_gal.cpp +++ b/common/gal/opengl/opengl_gal.cpp @@ -146,9 +146,10 @@ OPENGL_GAL::~OPENGL_GAL() glDeleteTextures( 1, &fontTexture ); isBitmapFontLoaded = false; } - +#ifndef __WIN32__ // FIXME: crashes on W7 - 32 bits delete OPENGL_GAL::glContext; glContext = NULL; +#endif } }