输出测试,RenderableString基本完成
This commit is contained in:
@@ -4,4 +4,13 @@
|
||||
|
||||
#include "Renderer.h"
|
||||
|
||||
#include "Game.h"
|
||||
#include "hbp.h"
|
||||
|
||||
void Renderer::initialize() noexcept { MainDC = GetDC(MainWindowHandle); }
|
||||
|
||||
void Renderer::resize(const int width, const int height) noexcept(false) {
|
||||
windowWidth = width;
|
||||
windowHeight = height;
|
||||
if (game.getWindow()) game.getWindow()->onResize();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user