diff --git a/src/tangerine.cpp b/src/tangerine.cpp index f799512..b8f294b 100644 --- a/src/tangerine.cpp +++ b/src/tangerine.cpp @@ -5,20 +5,21 @@ #define UTIL_IMPLEMENTATION #include "util.h" +using glm::vec4; + // forward declarations bool initGraphics(SDLHandles* handles); -LightsBuffer* initLights(MemoryArena* arena, GLContext* gl_ctx, u32 max_lights, - glm::vec4 ambient_color); +LightsBuffer* initLights(RenderState* rs, u32 max_lights, vec4 ambient_color); // interface RenderState* initRenderState(GLClearColor clear_col, - glm::vec4 ambient_color, + vec4 ambient_color, u32 max_models, u32 max_textures, u32 max_shaders,