opengl added to engine
This commit is contained in:
parent
d8378484a7
commit
706a519452
31 changed files with 490 additions and 68 deletions
|
|
@ -6,10 +6,7 @@
|
|||
#include <SDL.h>
|
||||
#include "arc/graphics/window.h"
|
||||
|
||||
// Temp till I figure out a better solution
|
||||
struct ARC_Window {
|
||||
SDL_Window *window;
|
||||
};
|
||||
typedef SDL_Window ARC_WindowType;
|
||||
|
||||
/**
|
||||
* @brief struct for info needed to create SDL_Window
|
||||
|
|
@ -25,6 +22,6 @@ struct ARC_WindowInfo {
|
|||
Uint32 flags;
|
||||
};
|
||||
|
||||
#endif // ARC_SDL
|
||||
#endif // !ARC_SDL
|
||||
|
||||
#endif // ARC_SDL_WINDOW_H_
|
||||
#endif // !ARC_SDL_WINDOW_H_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue