ppsspp/Common/UI/UI.cpp
Unknown W. Brackets 2479d52202 Global: Reduce includes of common headers.
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00

23 lines
432 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);
ui_draw2d_front.Begin(pipeline);
}
void UIFlush() {
ui_draw2d.Flush();
ui_draw2d_front.Flush();
}