[vtkusers] MakeCurrent Problems with .NET

de Boer Ingo I.deBoer at polytec.de
Tue Jun 1 01:54:01 EDT 2004


Hi,

> wglMakeCurrent(NULL, NULL) after every occurence of 
> renWin->Render(); in our code, as you suggested.  So far, 
> things seem to be working okay (not too slow), but we'll see.
Well... I haven't found the time yet to test it myself...
So, just a thought here... Wouldn't it be enough to call
wglMakeCurrent(NULL, NULL) only in the CWnd::OnActivate()
function depending on the activation state ? 

greets
  Ingo

---
Dr.-Ing. Ingo H. de Boer

Polytec GmbH
Polytec-Platz 1-7, 76337 Waldbronn, Germany
phone: ++49 7243 604 106
fax  : ++49 7243 604 255
 



More information about the vtkusers mailing list