mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-15 23:40:29 +02:00
Also move colorutil.cpp/h linking build fix experiment Delete a bunch of unused CMakeLists.txt files CMakeLists.txt linking fix Don't include NativeApp.h from any headers. Android.mk buildfix Half of the UWP fix Buildfix Minor project file cleanup Buildfixes Guess what? More buildfixes!
27 lines
523 B
C++
27 lines
523 B
C++
// See header for documentation.
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include <cmath>
|
|
#include <cstring>
|
|
|
|
#include "Common/Data/Color/RGBAUtil.h"
|
|
#include "ui/ui.h"
|
|
#include "ui/ui_context.h"
|
|
#include "gfx/texture_atlas.h"
|
|
#include "gfx_es2/draw_buffer.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();
|
|
}
|