mirror of https://github.com/bjornbytes/lovr.git
phonon: Fix freeing incorrect variable;
This commit is contained in:
parent
f6fbc2ad17
commit
eb8b559e88
|
@ -354,7 +354,7 @@ bool phonon_setGeometry(float* vertices, uint32_t* indices, uint32_t vertexCount
|
|||
status = phonon_iplCreateEnvironmentalRenderer(state.context, state.environment, state.renderingSettings, AMBISONIC, NULL, NULL, &state.environmentalRenderer);
|
||||
if (status != IPL_STATUS_SUCCESS) goto fail;
|
||||
|
||||
free(materials);
|
||||
free(triangleMaterials);
|
||||
return true;
|
||||
|
||||
fail:
|
||||
|
|
Loading…
Reference in New Issue