Fixed build on linux

This commit is contained in:
Adrian Hedqvist 2017-10-18 14:05:14 +02:00
parent baa6fc0c8a
commit ff799185fb
2 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,7 @@
#include <ctime>
#include <fstream>
#include <string>
#include <kaguya\kaguya.hpp>
#include <kaguya/kaguya.hpp>
#include "Renderer.h"
#include "imgui.h"
#include "Input.h"

View file

@ -53,20 +53,20 @@ struct InputEvent {
bool pressed;
union {
struct MouseMoveEvent { // mouse click;
struct { // mouse click;
int x;
int y;
int dx;
int dy;
} mouse_move_event;
struct MouseClickEvent { // mouse click;
struct { // mouse click;
int x;
int y;
int button;
} mouse_click_event;
struct KeyPressEvent { // key
struct { // key
SDL_Keycode key;
SDL_Keymod mod;
bool echo;