X-Git-Url: https://git.lukelau.me/?p=opengl.git;a=blobdiff_plain;f=material.cpp;h=9ed7e9029401a859dc1428f39e091deecfeefa9b;hp=32bf9e0fef2d9b609265955a1c455cc64ef99fef;hb=b75b26b3081207cd4169f2ac50875e35d19b8a14;hpb=99d2b81ce5567869469fe2e55722cc212370c7db diff --git a/material.cpp b/material.cpp index 32bf9e0..9ed7e90 100644 --- a/material.cpp +++ b/material.cpp @@ -35,7 +35,6 @@ Material::Texture::Texture(const aiString fileName, const aiScene &scene) { glBindTexture(GL_TEXTURE_2D, texId); std::string path; - unsigned char *data; if (fileName.data[0] == '*') { // embedded int embIdx = atoi(&fileName.data[1]);