BIG REFACTOR Part 2
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
#include "render/GL.h"
|
||||
|
||||
namespace TextureLoader {
|
||||
const unsigned int loadGLTexture(const char* fileName) {
|
||||
|
||||
unsigned int loadGLTexture(const char* fileName) {
|
||||
|
||||
int width, height, comp;
|
||||
|
||||
@@ -41,4 +42,5 @@ const unsigned int loadGLTexture(const char* fileName) {
|
||||
stbi_image_free((void*)image);
|
||||
return textureID;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user