source/Texture.cpp
void Texture::DestoryImageData(std::vector<uint8_t *> &pixelVec) {
  for (auto &pixels : pixelVec) {
    free(pixels);
    pixels = nullptr;
  }
}
// Free image data after upload to gpu
Free image data after upload to gpu
Free image data after upload to gpu
void Texture::DestoryImageData(std::vector<uint8_t *> &pixelVec) {
  for (auto &pixels : pixelVec) {
    free(pixels);
    pixels = nullptr;
  }
}
void Texture :: DestoryImageData ( std :: vector < uint8_t * > & pixelVec ) { for ( auto & pixels : pixelVec ) { free ( pixels ) ; pixels = nullptr ; } }
Free image data after upload to gpu
Free image data after upload to gpu