mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 22:02:49 -06:00
14 lines
300 B
C++
14 lines
300 B
C++
#include "LinuxFrameBuffer.h"
|
|
|
|
using namespace Upp;
|
|
|
|
SystemDraw& LinuxFrameBuffer::BeginDraw()
|
|
{
|
|
return screen.GetSystemDraw();
|
|
}
|
|
|
|
|
|
void LinuxFrameBuffer::CommitDraw()
|
|
{
|
|
memcpy(screen.GetBuffer(), ~screen.GetImageBuffer(), screen.GetImageBuffer().GetLength() * sizeof(RGBA));
|
|
}
|