ok i have no idea how double buffer works
i really need good sample example or tutorial
thanks
Ramiz
i really need good sample example or tutorial
thanks
Ramiz
//get the rectangle of the active window RECT clientRec; GetClientRect(_platformInfo->hWindow, &clientRec); //create the buffer image _buffer = new Gdiplus::Bitmap(clientRec.right - clientRec.left, clientRec.bottom - clientRec.top, _currentGraphics); //create the graphics object to draw on the buffer Gdiplus::Graphics *bufferGraphics = Gdiplus::Graphics::FromImage(_buffer); /*Draw a bunch of stuff*/ _currentGraphics->DrawImage(_buffer, 0, 0);
Comment