BIG REFACTOR Part 2

This commit is contained in:
2022-02-16 18:34:49 +01:00
parent bdebabb79e
commit 97a33e5517
11 changed files with 98 additions and 106 deletions

View File

@@ -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;
}
}