Changeset 15663


Ignore:
Timestamp:
05/11/12 00:33:36 (11 years ago)
Author:
nit
Message:

[titan] fix round

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/skin.h

    r15508 r15663  
    13641364        {
    13651365                *scaleheight = mheight;
    1366                 *scalewidth = mheight * srcRatio;
     1366                *scalewidth = (mheight * srcRatio) + 0.5;
    13671367        }
    13681368        else
    13691369        {
    13701370                *scalewidth = mwidth;
    1371                 *scaleheight = mwidth / srcRatio;
     1371                *scaleheight = (mwidth / srcRatio) + 0.5;
    13721372        }
    13731373}
Note: See TracChangeset for help on using the changeset viewer.