mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-09-29 23:54:53 +00:00
Do not free the model positions prematurely ... since we occasionally change them
This commit is contained in:
parent
c5256dde85
commit
086f7d0da2
@ -384,7 +384,6 @@ static void _quadCreateVAOAndVBOs(GLModel *model) {
|
|||||||
// We're using VAOs we can destroy certain buffers since they are already
|
// We're using VAOs we can destroy certain buffers since they are already
|
||||||
// loaded into GL and we've saved anything else we need
|
// loaded into GL and we've saved anything else we need
|
||||||
FREE(model->elements);
|
FREE(model->elements);
|
||||||
FREE(model->positions);
|
|
||||||
//FREE(model->normals);
|
//FREE(model->normals);
|
||||||
FREE(model->texCoords);
|
FREE(model->texCoords);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user