I'm trying to load a png image into a CGapiSurface from a VFS file and am getting 0xc8660190 as a return code. I can't find this error code anywhere in the GapiDraw header files. Any idea what it means?
The image file is a 24-bit png file. Other 24-bit png files load fine.
I try to load it as follows:
m_images[index] has been created correctly via new CGapiSurface(m_gapidraw)
Any ideas?
The image file is a 24-bit png file. Other 24-bit png files load fine.
I try to load it as follows:
- Code:
HRESULT hr = m_images[index]->CreateSurface(GDSURFACE_SYSTEMMEMORY, &vfs;, L"/images/fb_portrait.png");
m_images[index] has been created correctly via new CGapiSurface(m_gapidraw)
Any ideas?