openGL ES textures from PNGs with transparency are being rendered with weird artifacts and driving me nuts!
问题 I am beginning to work on my first OpenGL iPhone app, but I've hit an early snag. I have a VERY SIMPLE little texture that I want to use as a sprite in a 2D game, but it renders with weird 'randomly' colored pixels up top. http://i40.tinypic.com/2s7c9ro.png <-- Screenshot here I sort of get the feeling that this is Photoshop's fault, so if anybody something about that please let me know. If it's not photoshop then it's gotta be my code... So here is the code in question... - (void)loadTexture