SFML community forums

Help => General => Topic started by: Pazmivaniye on August 07, 2014, 01:51:06 am

Title: Still confused about retina support
Post by: Pazmivaniye on August 07, 2014, 01:51:06 am
I'm new making the transition from SDL to SFML and also new to owning a macbook with a high-resolution display. After looking around on here and on Github it looks like SFML 2.1 should work properly with the retina display, but I'm having the things-half-the-resolution problem and would just like to know (if anyone knows) when a fix will be implemented.

Sorry if this is a duplicate thread or in the wrong place.
Title: Re: Still confused about retina support
Post by: zsbzsb on August 07, 2014, 03:58:23 am
From what I understand  (can't test myself) only the latest master has the retina display support (not the tagged 2.1 release).
Title: Re: Still confused about retina support
Post by: Pazmivaniye on August 07, 2014, 04:15:32 am
That was my guess. I suppose I'll either change the relevant files in my 2.1 installation or just wait for 2.2, whenever that's coming. Thanks!
Title: Re: Still confused about retina support
Post by: zsbzsb on August 07, 2014, 04:16:27 am
Or just build SFML from source yourself. I don't know how you can just change files in your installation.  :P

For the record...

Commit d8812f0f5ca0e78902e0bbfb2dd3229eb960980c (https://github.com/SFML/SFML/commit/d8812f0f5ca0e78902e0bbfb2dd3229eb960980c) added retina display support on April 19th 2014.

Commit 6c1899d0f70e4dc845d7f482b22c9d79f7cd4f2f (https://github.com/SFML/SFML/commit/6c1899d0f70e4dc845d7f482b22c9d79f7cd4f2f) is the tagged 2.1 release on July 21th 2013.
Title: Re: Still confused about retina support
Post by: Pazmivaniye on August 07, 2014, 04:33:41 am
Good point, whoops. If I build from a commit that isn't a numbered release, is there an extra danger of bugs or things like that? (I've rarely built from a work-in-progress source so I always assumed that was riskier than a release.)
Title: Re: Still confused about retina support
Post by: Pazmivaniye on August 07, 2014, 04:54:40 am
Screw it, I'll just give the master a try :)
Title: Re: Still confused about retina support
Post by: thomas9459 on August 07, 2014, 06:43:13 pm
Generally, the master branch is kept in a very stable state, so you shouldn't run into any problems while using it, and if you do, you can always recompile from an older commit.
Title: Re: Still confused about retina support
Post by: Hiura on August 08, 2014, 04:30:56 pm
Actually, the master revision (regarding OS X impl) is at the moment probably more stable than 2.1.  ;D