Re: [hatari-devel] Issue with macOS version of Hatari 2.2 |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: Hatari devel list <hatari-devel@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: [hatari-devel] Issue with macOS version of Hatari 2.2
- From: Bob Carpenter <hatari@xxxxxxxxxx>
- Date: Fri, 1 Feb 2019 16:32:53 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ripon89-us.20150623.gappssmtp.com; s=20150623; h=sender:from:content-transfer-encoding:mime-version:subject:date :references:to:in-reply-to:message-id; bh=3r83HY9qt2bfz+04Im94U6LwvUg5mGsJoCXLeOCSmeI=; b=DT1R/AdShTF/xqUGraAfp8UnEz6TAUC2IwEJJy6Elrl39ql3/z23u29dSPYpEpe/0O 47ZJ6Y/dgmiX1afSI2eMuphfxjGk4EBz9nW/xcOy7Tri+cQfDJ5c8Omvj6qjvJPqbnXk 6cf03oBS3lkd2OehlKtv6zCBqL5PCwSoUakIH83M8ZXDh4//zssEvMfnk7Y8xAtjFSbP aWsmtF0H5XDR5mGtktEa6RJuiqvXJSN9k9DzuIJYwFuKo/KeToXlaCw2lG+bO5fYBKmc 5YBJPHxeCW0zrHPhMVlZUgLzbktS8Ah0X6m43PmmlyVYDpo1nb34ErDCKfR24g3Dj1gV qT+g==
My comments are below.
> On Feb 1, 2019, at 12:40 PM, Eero Tamminen <oak@xxxxxxxxxxxxxx> wrote:
>
> Hi,
>
> On 2/1/19 12:48 AM, Bob Carpenter wrote:
>> Based on your comments, it does sound like it is more complicated than
>> simply a Retina-based problem with SDL 2.0.7.
>
> SDL docs mention SDL_WINDOW_ALLOW_HIGHDPI flag:
> https://wiki.libsdl.org/SDL_CreateWindow
>
> I assume it to mean that MacOS doesn't just 2x the window, but
> creates it in the size requested by the application.
>
> Maybe that's somehow related?
I do not know how the HIGHDPI flag works in SDL. I would assume macOS is not simply doubling the size of the window.
>
>
>> Unfortunately, I don’t have a dynamic library for SDL 2.0.9 so I couldn’t
>> do a simple replacement to the released binary. I only have the SDL
>> framework.
>
> What about the one here:
> https://www.libsdl.org/download-2.0.php
>
Unfortunately, the macOS build creates an SDL dynamic library (dylib). The download page is for the macOS framework. The Hatari macOS binary will not see the framework since it was not compiled to use it. I had the 2.0.9 framework and it did not make a difference. However, I was able to use my compiled version that uses the 2.0.9 SDL framework.
Bob C