remove unused ckey parameter to RageSurfaceUtils::Blit
This commit is contained in:
@@ -1284,7 +1284,7 @@ void RageDisplay_D3D::UpdateTexture(
|
|||||||
area.x = area.y = 0;
|
area.x = area.y = 0;
|
||||||
area.w = (uint16_t) width;
|
area.w = (uint16_t) width;
|
||||||
area.h = (uint16_t) height;
|
area.h = (uint16_t) height;
|
||||||
RageSurfaceUtils::Blit( img, Texture, width, height, false );
|
RageSurfaceUtils::Blit( img, Texture, width, height );
|
||||||
|
|
||||||
delete Texture;
|
delete Texture;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -1604,7 +1604,7 @@ RageDisplay::PixelFormat RageDisplay_OGL::GetImgPixelFormat( RageSurface* &img,
|
|||||||
|
|
||||||
RageSurface *imgconv = CreateSurface( width, height,
|
RageSurface *imgconv = CreateSurface( width, height,
|
||||||
pfd->bpp, pfd->masks[0], pfd->masks[1], pfd->masks[2], pfd->masks[3] );
|
pfd->bpp, pfd->masks[0], pfd->masks[1], pfd->masks[2], pfd->masks[3] );
|
||||||
RageSurfaceUtils::Blit( img, imgconv, width, height, false );
|
RageSurfaceUtils::Blit( img, imgconv, width, height );
|
||||||
img = imgconv;
|
img = imgconv;
|
||||||
FreeImg = true;
|
FreeImg = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -141,7 +141,7 @@ void RageSurfaceUtils::CopySurface( RageSurface *src, RageSurface *dest )
|
|||||||
*dest->fmt.palette = *src->fmt.palette;
|
*dest->fmt.palette = *src->fmt.palette;
|
||||||
}
|
}
|
||||||
|
|
||||||
Blit( src, dest, -1, -1, false );
|
Blit( src, dest, -1, -1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
bool RageSurfaceUtils::ConvertSurface( RageSurface *src, RageSurface *&dst,
|
bool RageSurfaceUtils::ConvertSurface( RageSurface *src, RageSurface *&dst,
|
||||||
@@ -582,7 +582,7 @@ static void blit_generic( RageSurface *src_surf, const RageSurface *dst_surf, in
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Blit src onto dst. */
|
/* Blit src onto dst. */
|
||||||
void RageSurfaceUtils::Blit( RageSurface *src, RageSurface *dst, int width, int height, bool ckey )
|
void RageSurfaceUtils::Blit( RageSurface *src, RageSurface *dst, int width, int height )
|
||||||
{
|
{
|
||||||
if(width == -1)
|
if(width == -1)
|
||||||
width = src->w;
|
width = src->w;
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ namespace RageSurfaceUtils
|
|||||||
void BlitTransform( const RageSurface *src, RageSurface *dst,
|
void BlitTransform( const RageSurface *src, RageSurface *dst,
|
||||||
const float fCoords[8] /* TL, BR, BL, TR */ );
|
const float fCoords[8] /* TL, BR, BL, TR */ );
|
||||||
|
|
||||||
void Blit( RageSurface *src, RageSurface *dst, int width, int height, bool ckey );
|
void Blit( RageSurface *src, RageSurface *dst, int width, int height );
|
||||||
|
|
||||||
bool SaveSurface( RageSurface *img, CString file );
|
bool SaveSurface( RageSurface *img, CString file );
|
||||||
RageSurface *LoadSurface( CString file );
|
RageSurface *LoadSurface( CString file );
|
||||||
|
|||||||
Reference in New Issue
Block a user