• Sam Lantinga's avatar
    Changed the concept of a render clip rect to a render viewport. · c804b92b
    Sam Lantinga authored
    The render viewport is automatically re-centered when the window changes size, so applications that don't care will not have to handle recalculating their rendering coordinates.
    
    Fixed API for drawing and filling multiple rectangles - the parameter should be an array of rects, not an array of pointers to rects.
    
    Fixed API for updating window rects for consistency with other APIs - the order is pointer to array followed by count in array.
    c804b92b
testscale.c 4.8 KB