oops; fix hack

This commit is contained in:
Glenn Maynard
2003-03-11 21:05:53 +00:00
parent 8f9e1ba367
commit 35bf217063
+1 -1
View File
@@ -304,7 +304,7 @@ void RageBitmapTexture::Create()
* a texture when it's reused from our texture cache if it hasn't been used
* in a long time). */
glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_PRIORITY, 0.5f);
if(GetFilePath().Find("danger"))
if(GetFilePath().Find("danger") != -1)
glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_PRIORITY, 1.0f);
int pixfmt = desired_rgba_pixfmt;