From f2cabc81165c8e46f68ebb407eae50d547129d57 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Fri, 23 Feb 2001 19:51:11 +0000 Subject: [PATCH] Bug fix for newer versions of opengl32.dll on Windows --- Graphics/Draw.cpp | 6 +++++- README.txt | 17 ++++++++++------- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/Graphics/Draw.cpp b/Graphics/Draw.cpp index 55a41a4a63..a864583b76 100644 --- a/Graphics/Draw.cpp +++ b/Graphics/Draw.cpp @@ -1,4 +1,4 @@ -// $Id: Draw.cpp,v 1.22 2001-02-03 13:10:26 geuzaine Exp $ +// $Id: Draw.cpp,v 1.23 2001-02-23 19:51:11 geuzaine Exp $ #include "Gmsh.h" #include "GmshUI.h" @@ -25,7 +25,11 @@ void Draw3d(void){ } else{ glDisable(GL_BLEND); +#ifndef WIN32 + // Merde de bug dans les nouvelles dll opengl Windows (ATI Rage + // Mobility, NVIDIA, etc.) glDisable(GL_ALPHA); +#endif } glPolygonOffset(1.0, 1); diff --git a/README.txt b/README.txt index 65e9784eb1..c348801df6 100644 --- a/README.txt +++ b/README.txt @@ -1,21 +1,24 @@ -$Id: README.txt,v 1.1 2001-02-17 22:08:41 geuzaine Exp $ +$Id: README.txt,v 1.2 2001-02-23 19:51:11 geuzaine Exp $ For Windows versions of Gmsh only: ================================== +2) About opengl32.dll: + +If a version of the OpenGL library opengl32.dll is already installed +on your system, you should remove the version shipped with +Gmsh. Failing to do so may result in incorrect behaviour of Gmsh (the +graphic window may stay "transparent", or Gmsh may even not run at +all). + 1) About cygwin1.dll: If you plan to use other programs than Gmsh which depend on the cygwin1.dll library, please move the library from this directory to the Windows system directory (usually C:\Windows\System\). Failing to -do so will result in incorrect behaviour of all applications sharing +do so may result in incorrect behaviour of all applications sharing the library. -2) About opengl32.dll: - -If a version of the OpenGL library opengl32.dll is already installed -on your system, you can remove the version shipped with Gmsh. - 3) About configuration files: Gmsh saves session information and default options on disk. The -- GitLab