thunderbrew/src/gx/Draw.cpp
2023-01-02 13:17:18 -06:00

22 lines
471 B
C++

#include "gx/Draw.hpp"
#include "gx/Device.hpp"
void GxDraw(CGxBatch* batches, int32_t count) {
g_theGxDevicePtr->Draw(batches, count);
}
void GxSceneClear(uint32_t mask, CImVector color) {
g_theGxDevicePtr->SceneClear(mask, color);
}
void GxScenePresent() {
C3Vector v2 = { 0.0f, 0.0f, 0.0f };
GxuFlushDrawList(GxuCat_2, v2);
g_theGxDevicePtr->ScenePresent();
}
void GxuFlushDrawList(EGxuDrawListCategory a1, const C3Vector& a2) {
// TODO
}