Removed unused functions CVideo::get*.
This commit is contained in:
parent
fca395d007
commit
e624420d96
2 changed files with 0 additions and 30 deletions
|
@ -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_)
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue