commit 84fe415c8713d41cf2086dc635a13e5ab5b3e96f parent cef68e2f02e38bcba7d3a5d6b79f5a512af413bf Author: Michael Savage <mikejsavage@gmail.com> Date: Sun Nov 27 14:17:19 +0200 Fix up some headers Diffstat:
assets.h | | | 5 | +++-- |
game.h | | | 2 | ++ |
diff --git a/assets.h b/assets.h @@ -1,7 +1,8 @@ #ifndef _ASSETS_H_ #define _ASSETS_H_ -#include "glad.h" +#include "intrinsics.h" +#include "renderer.h" enum AssetType { AT_BITMAP, @@ -36,7 +37,7 @@ struct Asset { union { struct { BitmapData bitmap; - GLuint texture; + Texture texture; }; SoundData sound; }; diff --git a/game.h b/game.h @@ -1,6 +1,8 @@ #ifndef _GAME_H_ #define _GAME_H_ +#include "glad.h" + // TODO: this whole file blows #include "intrinsics.h" #include "linear_algebra.h"