mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
GfxContext renamed to DrawContext
This commit is contained in:
parent
4af0a8acf7
commit
bcf2f5029d
37 changed files with 101 additions and 101 deletions
|
|
@ -9,7 +9,7 @@
|
|||
#include "../../frontend/UiDocument.h"
|
||||
#include "../../graphics/core/Batch2D.hpp"
|
||||
#include "../../graphics/core/Shader.hpp"
|
||||
#include "../../graphics/core/GfxContext.hpp"
|
||||
#include "../../graphics/core/DrawContext.hpp"
|
||||
#include "../../window/Events.h"
|
||||
#include "../../window/input.h"
|
||||
#include "../../window/Camera.h"
|
||||
|
|
@ -136,7 +136,7 @@ void GUI::act(float delta, const Viewport& vp) {
|
|||
}
|
||||
}
|
||||
|
||||
void GUI::draw(const GfxContext* pctx, Assets* assets) {
|
||||
void GUI::draw(const DrawContext* pctx, Assets* assets) {
|
||||
auto& viewport = pctx->getViewport();
|
||||
glm::vec2 wsize = viewport.size();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue