Removed unused functions CVideo::get*.

This commit is contained in:
Guillaume Melquiond 2009-08-16 17:17:56 +00:00
parent fca395d007
commit e624420d96
2 changed files with 0 additions and 30 deletions

View file

@ -294,31 +294,6 @@ int CVideo::gety() const
return frameBuffer->h;
}
int CVideo::getBitsPerPixel()
{
return frameBuffer->format->BitsPerPixel;
}
int CVideo::getBytesPerPixel()
{
return frameBuffer->format->BytesPerPixel;
}
int CVideo::getRedMask()
{
return frameBuffer->format->Rmask;
}
int CVideo::getGreenMask()
{
return frameBuffer->format->Gmask;
}
int CVideo::getBlueMask()
{
return frameBuffer->format->Bmask;
}
void CVideo::flip()
{
if(fake_screen_)

View file

@ -56,11 +56,6 @@ class CVideo : private boost::noncopyable {
//functions to get the dimensions of the current video-mode
int getx() const;
int gety() const;
int getBitsPerPixel();
int getBytesPerPixel();
int getRedMask();
int getGreenMask();
int getBlueMask();
//blits a surface with black as alpha
void blit_surface(int x, int y, surface surf, SDL_Rect* srcrect=NULL, SDL_Rect* clip_rect=NULL);