Fixed UI not rendering (partially)
This commit is contained in:
@@ -4,13 +4,13 @@
|
||||
// https://opensource.org/licenses/MIT
|
||||
|
||||
#pragma once
|
||||
#include "UIComponent.hpp"
|
||||
#include "UIComponentRenderable.hpp"
|
||||
#include "display/mesh/QuadMesh.hpp"
|
||||
|
||||
#define UI_BORDER_QUAD_COUNT 9
|
||||
|
||||
namespace Dawn {
|
||||
class UIBorder : public UIComponent, public UIComponentRenderable {
|
||||
class UIBorder : public UIComponentRenderable {
|
||||
private:
|
||||
Mesh mesh;
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace Dawn {
|
||||
|
||||
float_t getContentWidth() override;
|
||||
float_t getContentHeight() override;
|
||||
std::vector<struct ShaderPassItem> getRenderPasses() override;
|
||||
std::vector<struct ShaderPassItem> getUIRenderPasses() override;
|
||||
void onStart() override;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user