mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-06 11:51:58 -04:00
fix cleanup
This commit is contained in:
parent
da58438429
commit
b991782958
@ -554,6 +554,7 @@ wdxGraphicsWindow(GraphicsPipe* pipe, const
|
|||||||
// Description:
|
// Description:
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
wdxGraphicsWindow::~wdxGraphicsWindow(void) {
|
wdxGraphicsWindow::~wdxGraphicsWindow(void) {
|
||||||
|
ReleaseDC(_mwindow,_hdc);
|
||||||
AtExitFn();
|
AtExitFn();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -780,7 +781,6 @@ dx_setup() {
|
|||||||
|
|
||||||
FreeLibrary(DDHinst); //undo LoadLib above, decrement ddrawl.dll refcnt (after DDrawCreate, since dont want to unload/reload)
|
FreeLibrary(DDHinst); //undo LoadLib above, decrement ddrawl.dll refcnt (after DDrawCreate, since dont want to unload/reload)
|
||||||
|
|
||||||
|
|
||||||
DDDEVICEIDENTIFIER2 dddi;
|
DDDEVICEIDENTIFIER2 dddi;
|
||||||
pDD->GetDeviceIdentifier(&dddi,0x0);
|
pDD->GetDeviceIdentifier(&dddi,0x0);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user