compile fix

This commit is contained in:
Glenn Maynard
2004-01-24 22:44:52 +00:00
parent 0f9caa7007
commit f573d5f1ad
3 changed files with 3 additions and 3 deletions
@@ -481,7 +481,7 @@ void MovieTexture_DShow::CreateTexture()
SDL_Surface *img = SDL_CreateRGBSurfaceSane(SDL_SWSURFACE, m_iTextureWidth, m_iTextureHeight,
pfd->bpp, pfd->masks[0], pfd->masks[1], pfd->masks[2], pfd->masks[3]);
m_uTexHandle = DISPLAY->CreateTexture( pixfmt, img );
m_uTexHandle = DISPLAY->CreateTexture( pixfmt, img, false );
SDL_FreeSurface( img );
}
@@ -679,7 +679,7 @@ void MovieTexture_FFMpeg::CreateTexture()
pfd->bpp, pfd->masks[0], pfd->masks[1], pfd->masks[2], pfd->masks[3]);
}
m_uTexHandle = DISPLAY->CreateTexture( pixfmt, m_img );
m_uTexHandle = DISPLAY->CreateTexture( pixfmt, m_img, false );
}
@@ -61,7 +61,7 @@ MovieTexture_Null::MovieTexture_Null(RageTextureID ID) : RageMovieTexture(ID) {
const RageDisplay::PixelFormatDesc *pfd = DISPLAY->GetPixelFormatDesc(pixfmt);
SDL_Surface *img = SDL_CreateRGBSurfaceSane(SDL_SWSURFACE, size, size, pfd->bpp, pfd->masks[0],
pfd->masks[1], pfd->masks[2], pfd->masks[3]);
texHandle = DISPLAY->CreateTexture(pixfmt, img);
texHandle = DISPLAY->CreateTexture(pixfmt, img, false);
//DISPLAY->UpdateTexture(texHandle, img, 0, 0, size, size);
SDL_FreeSurface(img);
}