[VITA] Fix VitaGL symbol changes

This commit is contained in:
Francisco José García García 2020-10-16 20:29:17 +02:00
parent c44e06c7d8
commit 971a2a394e

View File

@ -874,7 +874,7 @@ void glBufferData(GLenum target, GLsizei size, const GLvoid *data, GLenum usage)
// Free buffer if already existing.
if (gpu_buffers[idx].ptr != NULL)
mempool_free(gpu_buffers[idx].ptr, type);
vgl_mem_free(gpu_buffers[idx].ptr, type);
gpu_buffers[idx].ptr = gpu_alloc_mapped(size, &type);
gpu_buffers[idx].size = size;