add a hack to fix annoying borders

This commit is contained in:
Glenn Maynard
2003-01-23 05:35:21 +00:00
parent f44f8d818c
commit 7344ddf371
3 changed files with 80 additions and 5 deletions
+1 -3
View File
@@ -287,9 +287,7 @@ void RageBitmapTexture::Create()
int pixfmt = desired_rgba_pixfmt;
/* XXX this needs to be a hint */
Uint8 AlphaR=0, AlphaG=0, AlphaB=0;
SetAlphaRGB(img, AlphaR, AlphaG, AlphaB);
FixHiddenAlpha(img);
if(img->format->BitsPerPixel == 8 && DISPLAY->GetSpecs().EXT_paletted_texture)
{