mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-23 22:55:39 +00:00
acba3bd258
It is cleaner to not do that and just include the proper file in the build files if needed.
24 lines
344 B
C++
24 lines
344 B
C++
#include "Renderer.h"
|
|
#include "platform.h"
|
|
#include GLHEADER
|
|
#include "Font.h"
|
|
|
|
namespace Renderer
|
|
{
|
|
void onInit()
|
|
{
|
|
for(int i = 0; i < (int)FONT_SIZE_COUNT; i++)
|
|
{
|
|
getDefaultFont((FontSize)i)->init();
|
|
}
|
|
}
|
|
|
|
void onDeinit()
|
|
{
|
|
for(int i = 0; i < (int)FONT_SIZE_COUNT; i++)
|
|
{
|
|
getDefaultFont((FontSize)i)->deinit();
|
|
}
|
|
}
|
|
};
|