X-Git-Url: https://git.lukelau.me/?p=opengl.git;a=blobdiff_plain;f=material.cpp;fp=material.cpp;h=9ed7e9029401a859dc1428f39e091deecfeefa9b;hp=32bf9e0fef2d9b609265955a1c455cc64ef99fef;hb=b65e36b22384a138e04ac9a49cbce9878e5e3366;hpb=6fb9efea1fd0e4575973719a997602da4b4c4fa5 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]);