OpenGL: Fix swizzle code again for alpha textures
My prior code was incorrect; I mixed up the two parameters, the GL_TEXTURE_SWIZZLE_* parameter specifies the target channel, and the value itself specifies the source channel., If that makes sense.
Showing
想要评论请 注册 或 登录