mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
clear2black does Gdiflush
This commit is contained in:
parent
e04b7aa893
commit
1262f0ceb2
@ -180,6 +180,7 @@ void ClearToBlack(HWND hWnd,GraphicsWindow::Properties &props) {
|
||||
FillRect(hDC,&clrRect,(HBRUSH)GetStockObject(BLACK_BRUSH));
|
||||
// PatBlt(hDC,_props._xorg,_props._yorg,_props._xsize,_props._ysize,BLACKNESS);
|
||||
ReleaseDC(hWnd,hDC);
|
||||
GdiFlush();
|
||||
}
|
||||
|
||||
// fn exists so AtExitFn can call it without refcntr blowing up since its !=0
|
||||
|
Loading…
x
Reference in New Issue
Block a user