pFont->m_TextureData[0] = new unsigned char[pFont->m_CurTextureDimensions[0] * pFont->m_CurTextureDimensions[0]];
void *pTmpTextData = malloc(NewTextureSize);
mem_copy(pTmpTextData, aTextureData[0], NewTextureSize);
What happens if one allocates memory to a local scoped pointer then memcopy to another variable.Also I do not understand how this code is not allocating twice or freeing. Im really confusedRgba8UnormSrgb
. although tbf the webgl backend has only second-class support and made by one person iircRgba8UnormSrgb
. although tbf the webgl backend has only second-class support and made by one person iirc Bgra8Unorm
and Bgra8UnormSrgb
changeably on nativeError in Surface::configure: requested format Rgba8Unorm is not in list of supported formats: [Rgba8UnormSrgb]
Error in Surface::configure: requested format Rgba8Unorm is not in list of supported formats: [Rgba8UnormSrgb]