Fixed an #include directive in <PixelRenderer.hpp>

This commit is contained in:
OmniaX-Dev 2026-03-05 22:56:00 +01:00
parent bf70b4dbed
commit 1b09fc172f
3 changed files with 10 additions and 6 deletions

View file

@ -1 +1 @@
1972
1974

View file

@ -1,7 +1,7 @@
#pragma once
#include "IOHandlers.hpp"
#include "String.hpp"
#include <ostd/IOHandlers.hpp>
#include <ostd/String.hpp>
#include <ostd/Color.hpp>
#include <ogfx/SDLInclude.hpp>
#include <unordered_map>
@ -40,6 +40,10 @@ namespace ogfx
public:
inline Font(void) { }
inline Font(const ostd::String& fontPath)
{
init(fontPath);
}
inline void init(const ostd::String& fontPath)
{
ostd::ConsoleOutputHandler out;
m_fontSurface = SDL_LoadBMP(fontPath.c_str());