Fixed build on linux
This commit is contained in:
parent
baa6fc0c8a
commit
ff799185fb
2 changed files with 4 additions and 4 deletions
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue