void cResourceManager::releaseTexture(TexID id) { textureCount.at(id)--; if (textureCount.at(id) == 0) { GL_CALL(glDeleteTextures(1, &textureCache.at(id))); textureCache.erase(id); textureCount.erase(id); } }
Standard input is empty
prog.cpp:1:6: error: ‘cResourceManager’ has not been declared
void cResourceManager::releaseTexture(TexID id)
^
prog.cpp:1:39: error: variable or field ‘releaseTexture’ declared void
void cResourceManager::releaseTexture(TexID id)
^
prog.cpp:1:39: error: ‘TexID’ was not declared in this scope
Standard output is empty