05-14-2014, 02:30 PM
when implementing the
it gaves me a very strange picutre
Code:
case CELL_GCM_TEXTURE_R5G6B5:
{
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, tex.GetWidth(), tex.GetHeight(), 0, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, pixels);
checkForGlError("GLTexture::Init() -> glTexImage2D");
//glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_A, GL_ONE);
break;
}
it gaves me a very strange picutre