05-14-2014, 09:52 PM
(05-14-2014, 02:30 PM)element Wrote: when implementing the
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
If the game didn't display that before your code addition, then please make a pull request! It looks completely fine, just some minor color format issue, trivial probably.
Asus N55SF, i7-2670QM (~2,8 ghz under typical load), GeForce GT 555M (only OpenGL)