Model loading now working

This commit is contained in:
4VRDriver
2020-09-05 16:10:15 +02:00
parent fff7c0bde2
commit 8220757bd3
4 changed files with 19 additions and 9 deletions

View File

@@ -27,7 +27,6 @@ Texture::Texture(const char* texturePath, uint8_t textureType) {
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, textureWidth, textureHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, textureBuffer);
//glGenerateMipmap(GL_TEXTURE_2D);
} else {