Changeset 15309
- Timestamp:
- 04/17/12 17:58:57 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/skin.h
r15278 r15309 1536 1536 buffer = (*cinfo.mem->alloc_sarray) ((j_common_ptr) &cinfo, JPOOL_IMAGE, row_stride, 1); 1537 1537 1538 if(accelfb != NULL && accelfb->varfbsize > width * 8 && (scalewidth != 0 || scaleheight != 0) )1538 if(accelfb != NULL && accelfb->varfbsize > width * 8 && (scalewidth != 0 || scaleheight != 0) && (scalewidth != width || scaleheight != height)) 1539 1539 { 1540 1540 //auto scale to mwidth / mheight … … 1830 1830 if((pictype == 0 || pictype == 1) && buf == NULL) return; 1831 1831 1832 if(pictype == 0 && (scalewidth != 0 || scaleheight != 0) )1832 if(pictype == 0 && (scalewidth != 0 || scaleheight != 0) && (scalewidth != width || scaleheight != height)) 1833 1833 { 1834 1834 //auto scale to mwidth / mheight
Note: See TracChangeset
for help on using the changeset viewer.