*** empty log message ***

This commit is contained in:
David Rose 2001-05-02 21:49:41 +00:00
parent f52fbf225f
commit 62f1fc0882
1 changed files with 4 additions and 1 deletions

View File

@ -55,7 +55,10 @@ wglGraphicsWindow::~wglGraphicsWindow(void) {
// DestroyWindow(_mwindow);
if(_visual!=NULL)
free(_visual);
wglDeleteContext(_context);
// The GL context is already gone. Don't try to destroy it again.
// wglDeleteContext(_context);
ReleaseDC(_mwindow,_hdc);
DestroyWindow(_mwindow);
}