Original Post
How can I backbuffer in GDI? I tried this but it wont draw anything: RECT Rect; GetClientRect(GetMainWindow(),&Rect); HDC hDC = GetDC(GetMainWindow()); HDC BackBuffer = CreateCompatibleDC(hDC); FillRect(BackBuffer,&Rect,(HBRUSH)GetStockObject(BLACK_BRUSH)); BitBlt(hDC,0,0,800,600,BackBuffer,0,0,SRCCOPY);