Re: [AD] Last iphone patch

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Fri, 2010-12-03 at 11:07 -0700, Trent Gamblin wrote:
> It already has the scale as 2 by default on ip(od|hone)4. Maybe
> I wasn't making sense in the documentation.  So if you create a
> 640x960 screen on iphone4 you'll get the full res. This function
> allows you to change that, but it's manual. If you want 320x480
> you have to set the scale to 1 and use 320, 480 when calling
> al_create_display. I suppose we could eliminate the function
> altogether but there may be cases (can't think of any right now)
> where you want a scale that doesn't map to the same resolution
> as 320x480*scale.
> 

All is good then, I somehow had thought you need to manually set it to
2.

-- 
Elias Pschernig <elias.pschernig@xxxxxxxxxx>





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/