add 3D scrolling to ActorScroller
generalize BGAnimation, BGAnimationLayer to eliminate shared code with ActorFrame
This commit is contained in:
@@ -61,7 +61,9 @@ 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, false);
|
||||
|
||||
//DISPLAY->UpdateTexture(texHandle, img, 0, 0, size, size);
|
||||
SDL_FreeSurface(img);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user