Removed old font parts
This commit is contained in:
1 parent
4e1e1cacfb
commit
9431ecfe00
12 files changed
-13
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -3,13 +3,4 @@
|
|||||||
# This software is released under the MIT License.
|
# This software is released under the MIT License.
|
||||||
# https://opensource.org/licenses/MIT
|
# https://opensource.org/licenses/MIT
|
||||||
|
|
||||||
# Sources
|
|
||||||
target_sources(${DAWN_TARGET_NAME}
|
|
||||||
PRIVATE
|
|
||||||
BitmapFont.cpp
|
|
||||||
ExampleFont.cpp
|
|
||||||
TrueTypeFont.cpp
|
|
||||||
FontMeasure.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
add_subdirectory(truetype)
|
add_subdirectory(truetype)
|
||||||
@@ -35,8 +35,6 @@ void RenderManager::init() {
|
|||||||
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||||
glDepthMask(GL_TRUE);
|
glDepthMask(GL_TRUE);
|
||||||
glDepthFunc(GL_LESS);
|
glDepthFunc(GL_LESS);
|
||||||
|
|
||||||
this->defaultFont.init();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
RenderTarget * RenderManager::getBackBuffer() {
|
RenderTarget * RenderManager::getBackBuffer() {
|
||||||
|
|||||||
@@ -10,7 +10,6 @@
|
|||||||
#include "display/shader/shaders/FontShader.hpp"
|
#include "display/shader/shaders/FontShader.hpp"
|
||||||
#include "display/shader/shaders/UIShader.hpp"
|
#include "display/shader/shaders/UIShader.hpp"
|
||||||
#include "display/RenderPipeline.hpp"
|
#include "display/RenderPipeline.hpp"
|
||||||
#include "display/font/ExampleFont.hpp"
|
|
||||||
|
|
||||||
namespace Dawn {
|
namespace Dawn {
|
||||||
class RenderManager : public IRenderManager {
|
class RenderManager : public IRenderManager {
|
||||||
@@ -26,7 +25,6 @@ namespace Dawn {
|
|||||||
SimpleTexturedShader *simpleTexturedShader = nullptr;
|
SimpleTexturedShader *simpleTexturedShader = nullptr;
|
||||||
UIShader *uiShader = nullptr;
|
UIShader *uiShader = nullptr;
|
||||||
FontShader *fontShader = nullptr;
|
FontShader *fontShader = nullptr;
|
||||||
ExampleFont defaultFont;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Construct a new RenderManager for a game instance.
|
* Construct a new RenderManager for a game instance.
|
||||||
|
|||||||
Reference in new issue
Block a user