TONY: Removal of code that was commented out in the original source

This commit is contained in:
Paul Gilbert 2012-05-20 16:34:38 +10:00
parent c38bbce20c
commit 7da213cd32
9 changed files with 29 additions and 300 deletions

View file

@ -162,18 +162,6 @@ void RMGfxSourceBuffer::PrepareImage(void) {
bool RMGfxSourceBuffer::Clip2D(int &x1, int &y1, int &u, int &v, int &width, int &height, bool bUseSrc, RMGfxTargetBuffer *buf) {
int destw, desth;
/*
OBSOLETE CODE:
if (buf == NULL) {
destw=RM_SX;
desth=RM_SY;
} else {
destw = buf->Dimx();
desth = buf->Dimy();
}
*/
destw = buf->Dimx();
desth = buf->Dimy();