MantisBT - VTK
View Issue Details
0007119VTK(No Category)public2008-05-29 04:572013-04-05 19:57
Levap 
François Bertel 
normaltweakalways
closedfixed 
 
 
0007119: ENH. in vtkWin32OpenGLRenderWindow
In some cases on Intel 82945G Express Chipset (Driver version: 6.14.10.4926 / 14.32.4) the call of the function "wglMakeCurrent(NULL, NULL)" returns FALSE. Same application on NVidia and ATI works just fine.

For example: simple application with Quad-View produces error message in vtkWin32OpenGLRenderWindow::Clean().

MSDN says that, when the second parameter is NULL, the first parameter will be ignored. It looks like on Intel it is different.

Proposal:
Change the call of the function as follows: wglMakeCurrent(this->DeviceContext, NULL). This looks to work on all platforms.
No tags attached.
cxx vtkWin32OpenGLRenderWindow.cxx (42,736) 2008-05-29 04:57
https://www.vtk.org/Bug/file/6508/vtkWin32OpenGLRenderWindow.cxx
Issue History
2008-05-29 04:57LevapNew Issue
2008-05-29 04:57LevapFile Added: vtkWin32OpenGLRenderWindow.cxx
2009-11-26 10:03François BertelStatusbacklog => tabled
2009-11-26 10:03François BertelAssigned To => François Bertel
2009-11-26 12:40François BertelNote Added: 0018598
2009-11-26 12:42François BertelNote Added: 0018599
2009-11-26 12:42François BertelStatustabled => @80@
2009-11-26 12:42François BertelResolutionopen => fixed
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2013-04-05 19:57Berk GeveciStatuscustomer review => closed

Notes
(0018598)
François Bertel   
2009-11-26 12:40   
Another user (Zamir Khan) having this issue, confirmed this patch works.
See the discussion on the vtk user list:

http://www.vtk.org/pipermail/vtkusers/2009-November/104105.html [^]
(0018599)
François Bertel   
2009-11-26 12:42   
Fixed in VTK 5.5 in revision 1.163 (2009/11/26) of
VTK/Rendering/vtkWin32OpenGLRenderWindow.cxx