Skip to content
Snippets Groups Projects
Commit f2cabc81 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

Bug fix for newer versions of opengl32.dll on Windows

parent 39de4e73
No related branches found
No related tags found
No related merge requests found
// $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 "Gmsh.h"
#include "GmshUI.h" #include "GmshUI.h"
...@@ -25,7 +25,11 @@ void Draw3d(void){ ...@@ -25,7 +25,11 @@ void Draw3d(void){
} }
else{ else{
glDisable(GL_BLEND); glDisable(GL_BLEND);
#ifndef WIN32
// Merde de bug dans les nouvelles dll opengl Windows (ATI Rage
// Mobility, NVIDIA, etc.)
glDisable(GL_ALPHA); glDisable(GL_ALPHA);
#endif
} }
glPolygonOffset(1.0, 1); glPolygonOffset(1.0, 1);
......
$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: 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: 1) About cygwin1.dll:
If you plan to use other programs than Gmsh which depend on the If you plan to use other programs than Gmsh which depend on the
cygwin1.dll library, please move the library from this directory to cygwin1.dll library, please move the library from this directory to
the Windows system directory (usually C:\Windows\System\). Failing 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. 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: 3) About configuration files:
Gmsh saves session information and default options on disk. The Gmsh saves session information and default options on disk. The
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment