Compare commits
No commits in common. "60dbab0fd577cf11d9b494fcf41b00e2df8ac85f" and "7778fb4aa5f1ffd8622b73c1edf22cb9c1096325" have entirely different histories.
60dbab0fd5
...
7778fb4aa5
|
|
@ -2,7 +2,7 @@
|
|||
CORE_SOURCES := \
|
||||
linked_list.c \
|
||||
vector2d.c \
|
||||
inputs.c \
|
||||
events.c \
|
||||
asset_manager.c \
|
||||
ecs.c \
|
||||
display.c \
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ inline int display_init(void)
|
|||
for(int i = 0; i < NB_DRIVERS; i++)
|
||||
debug_printf("%d : %s", i, SDL_GetRenderDriver(i));
|
||||
|
||||
if(DRIVERS) warning_printf("This build of 2D_Engine_C only support the following drivers : %s", DRIVERS);
|
||||
warning_printf("This build of 2D_Engine_C only support the following drivers : %s", DRIVERS);
|
||||
|
||||
renderer = SDL_CreateRenderer(window, DRIVERS);
|
||||
if(!renderer)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#include "inputs.h"
|
||||
#include "events.h"
|
||||
|
||||
#include <SDL3/SDL_events.h>
|
||||
|
||||
|
|
@ -10,9 +10,9 @@
|
|||
#define DISPLAY_HEIGHT 224
|
||||
#define RENDER_SCALE 2
|
||||
|
||||
//#define DRIVERS NULL
|
||||
#define DRIVERS "vulkan,gpu,software"
|
||||
|
||||
|
||||
extern SDL_Window *window;
|
||||
extern SDL_Renderer *renderer;
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
#include <stdbool.h>
|
||||
#include "asset_manager.h"
|
||||
#include "ecs.h"
|
||||
#include "inputs.h"
|
||||
#include "events.h"
|
||||
|
||||
/**
|
||||
* @brief Game data.
|
||||
|
|
|
|||
Loading…
Reference in New Issue