Good old warning fixes...how I missed thee.

This commit is contained in:
Jason Felds
2011-06-12 03:30:57 -04:00
parent 720675637e
commit 4bb0b28fc8
6 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -2561,7 +2561,7 @@ RString RageDisplay_Legacy::GetTextureDiagnostics(unsigned iTexture) const
void RageDisplay_Legacy::SetAlphaTest(bool b)
{
// Previously this was 0.01, rather than 0x01.
glAlphaFunc(GL_GREATER, 0.00390625 /* 1/256 */);
glAlphaFunc(GL_GREATER, 0.00390625f /* 1/256 */);
if (b)
glEnable(GL_ALPHA_TEST);
else