Add openal-soft dependency, update opengl macro

This commit is contained in:
2016-07-24 22:19:25 +10:00
parent 8fc895e584
commit 71faaa78c4
22 changed files with 2936 additions and 35 deletions
+3 -2
View File
@@ -6,9 +6,10 @@
#define STB_TRUETYPE_IMPLEMENTATION
#include <STB/stb_truetype.h>
#include "Dengine/Platform.h"
#include "Dengine/AssetManager.h"
#include "Dengine/Debug.h"
#include "Dengine/OpenGL.h"
#include "Dengine/Platform.h"
//#define WT_RENDER_FONT_FILE
#ifdef WT_RENDER_FONT_FILE
@@ -77,7 +78,7 @@ const i32 asset_loadTextureImage(AssetManager *assetManager,
Texture tex = texture_gen(CAST(GLuint)(imgWidth), CAST(GLuint)(imgHeight),
CAST(GLint)(bytesPerPixel), image);
glCheckError();
GL_CHECK_ERROR();
stbi_image_free(image);
assetManager->textures[type] = tex;