compile fix
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user