mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 06:05:58 -06:00
14 lines
259 B
C++
14 lines
259 B
C++
#include "LinuxFrameBuffer.h"
|
|
|
|
using namespace Upp;
|
|
|
|
SystemDraw& LinuxFrameBuffer::BeginDraw()
|
|
{
|
|
return screen.sysdraw;
|
|
}
|
|
|
|
|
|
void LinuxFrameBuffer::CommitDraw()
|
|
{
|
|
memcpy(screen.buffer, ~screen.image, screen.image.GetLength() * sizeof(RGBA));
|
|
}
|