[Exception] Fix R_RegisterFont

This commit is contained in:
momo5502 2017-04-23 13:38:24 +02:00
parent d97c886ccd
commit 1481b02867

View File

@ -164,7 +164,7 @@ namespace Components
// Display DEBUG branding, so we know we're on a debug build // Display DEBUG branding, so we know we're on a debug build
Renderer::OnFrame([]() Renderer::OnFrame([]()
{ {
Game::Font* font = Game::R_RegisterFont("fonts/normalFont"); Game::Font* font = Game::R_RegisterFont("fonts/normalFont", 0);
float color[4] = { 1.0f, 1.0f, 1.0f, 1.0f }; float color[4] = { 1.0f, 1.0f, 1.0f, 1.0f };
// Change the color when attaching a debugger // Change the color when attaching a debugger