text stuff, I forgot
This commit is contained in:
parent
7018500555
commit
8a29955b1f
3 changed files with 9 additions and 8 deletions
|
|
@ -16,6 +16,7 @@
|
|||
#include "arc/input/sdl/keyboard.h"
|
||||
#include <SDL.h>
|
||||
#include <SDL_video.h>
|
||||
#include <SDL2/SDL_ttf.h>
|
||||
#elif ARC_OPENGL
|
||||
#include "arc/graphics/opengl/window.h"
|
||||
#include "arc/graphics/opengl/renderer.h"
|
||||
|
|
@ -39,6 +40,10 @@ void ARC_EngineData_Create(ARC_EngineData **data, ARC_Handler_CleanDataFn cleanf
|
|||
ARC_KeyboardInfo keyboardInfo;
|
||||
|
||||
(*data)->windowSize = windowSize;
|
||||
//TEMP
|
||||
#ifdef ARC_SDL
|
||||
TTF_Init();
|
||||
#endif
|
||||
|
||||
#ifdef ARC_SDL
|
||||
windowInfo = (ARC_WindowInfo){ "title", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, (*data)->windowSize.x, (*data)->windowSize.y, 0 };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue