Hi !
Before I loaded my images textures with Corona and in order to render the texture correctly, I had to flip them about the X axis (or Y axis, don't remember).
Now I load them with sfImage :
sfImage Image;
if (!Image.LoadFromFile (m_sMaterial.nomTexture))
return EXIT_FAILURE;
glGenTextures (1, &m_uiTexture);
glBindTexture (GL_TEXTURE_2D, m_uiTexture);
glTexParameteri (GL_TEXTURE_2D, GL_GENERATE_MIPMAP, GL_TRUE);
glTexParameterf (GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
glTexParameterf (GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR);
glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, Image.GetWidth(), Image.GetHeight(), 0, GL_RGBA, GL_UNSIGNED_BYTE, Image.GetPixelsPtr());
The texture can be seen, but it's not well drawn, like those I loaded with corona without the flip. So, is there any flip functions in order to draw that ? Or it can be another problem ?