Various changes
- add release build - control framerate - fix bug that caused camera to shake - enable double-buffering and VSync
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include "SDL2/SDL.h"
|
||||
#include "cglm/cglm.h"
|
||||
#include "camera.h"
|
||||
@@ -20,6 +21,7 @@ typedef struct
|
||||
typedef struct
|
||||
{
|
||||
bool running;
|
||||
uint64_t previousTicks;
|
||||
InputState input;
|
||||
SDL_Window *window;
|
||||
SDL_GLContext *glContext;
|
||||
|
||||
Reference in New Issue
Block a user