View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007119VTK(No Category)public2008-05-29 04:572013-04-05 19:57
ReporterLevap 
Assigned ToFrançois Bertel 
PrioritynormalSeveritytweakReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0007119: ENH. in vtkWin32OpenGLRenderWindow
DescriptionIn 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.
TagsNo tags attached.
Project
Type
Attached Filescxx file icon vtkWin32OpenGLRenderWindow.cxx [^] (42,736 bytes) 2008-05-29 04:57

 Relationships

  Notes
(0018598)
François Bertel (developer)
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 (developer)
2009-11-26 12:42

Fixed in VTK 5.5 in revision 1.163 (2009/11/26) of
VTK/Rendering/vtkWin32OpenGLRenderWindow.cxx

 Issue History
Date Modified Username Field Change
2008-05-29 04:57 Levap New Issue
2008-05-29 04:57 Levap File Added: vtkWin32OpenGLRenderWindow.cxx
2009-11-26 10:03 François Bertel Status backlog => tabled
2009-11-26 10:03 François Bertel Assigned To => François Bertel
2009-11-26 12:40 François Bertel Note Added: 0018598
2009-11-26 12:42 François Bertel Note Added: 0018599
2009-11-26 12:42 François Bertel Status tabled => @80@
2009-11-26 12:42 François Bertel Resolution open => fixed
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2013-04-05 19:57 Berk Geveci Status customer review => closed


Copyright © 2000 - 2018 MantisBT Team