mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 07:20:49 +00:00
21 lines
372 B
C++
21 lines
372 B
C++
// See header for documentation.
|
|
|
|
#include <cmath>
|
|
#include <cstring>
|
|
|
|
#include "Common/UI/UI.h"
|
|
#include "Common/UI/Context.h"
|
|
#include "Common/Render/DrawBuffer.h"
|
|
|
|
// TODO: UI should probably not own these.
|
|
DrawBuffer ui_draw2d;
|
|
DrawBuffer ui_draw2d_front;
|
|
|
|
void UIBegin(Draw::Pipeline *pipeline) {
|
|
ui_draw2d.Begin(pipeline);
|
|
}
|
|
|
|
void UIFlush() {
|
|
ui_draw2d.Flush();
|
|
}
|