This commit is contained in:
raven02 2014-05-17 01:44:13 +08:00
parent ca7c4e119e
commit e7a4eac676
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ public:
checkForGlError("GLTexture::Init() -> glTexImage2D");
GLint swizzleMask[] = { GL_ONE, GL_ONE, GL_ONE, GL_RED };
glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_A, swizzleMask);
glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_RGBA, swizzleMask);
checkForGlError("GLTexture::Init() -> glTexParameteriv");
}
break;