clear2black does Gdiflush

This commit is contained in:
cxgeorge 2002-08-12 19:58:00 +00:00
parent e04b7aa893
commit 1262f0ceb2

View File

@ -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