removed unused information from texture,
don't copy the data, give a pointer, there is some data left, need to find out if it's from these changes
This commit is contained in:
@@ -455,7 +455,7 @@ void OpenGLController::loadMsh(const char * path)
|
||||
tempData->alpha = tempTex.hasAlpha();
|
||||
tempData->width = tempTex.getWidth();
|
||||
tempData->height = tempTex.getHeight();
|
||||
tempData->data = new std::vector<std::uint8_t>(tempTex.getData());
|
||||
tempData->data = tempTex.getData();
|
||||
}
|
||||
catch (std::invalid_argument e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user