fix cleanup

This commit is contained in:
cxgeorge 2001-07-10 03:10:25 +00:00
parent da58438429
commit b991782958

View File

@ -554,6 +554,7 @@ wdxGraphicsWindow(GraphicsPipe* pipe, const
// Description:
////////////////////////////////////////////////////////////////////
wdxGraphicsWindow::~wdxGraphicsWindow(void) {
ReleaseDC(_mwindow,_hdc);
AtExitFn();
}
@ -780,7 +781,6 @@ dx_setup() {
FreeLibrary(DDHinst); //undo LoadLib above, decrement ddrawl.dll refcnt (after DDrawCreate, since dont want to unload/reload)
DDDEVICEIDENTIFIER2 dddi;
pDD->GetDeviceIdentifier(&dddi,0x0);