[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Release of Enigma 1.30-alpha

From: Andreas Lochmann
Subject: Re: Release of Enigma 1.30-alpha
Date: Fri, 25 Dec 2020 23:13:13 +0100

Thank you for your patience, Sidney. We now know the location of the bug (SDL, of course), and have to find a way to work around it. This will need some time. I have an idea how to do this, but it will probably further impact Enigma's performance negatively. I might have to add an option for this.

Am Fr., 25. Dez. 2020 um 23:00 Uhr schrieb Sidney Markowitz <sidney@sidney.com>:
Andreas Lochmann wrote on 26/12/20 1:56 am:
> Hmm ... please change line 932 in video.cc from
>      SDL_SetRelativeMouseMode(enabled ? SDL_TRUE : SDL_FALSE);
> to:
>      SDL_SetRelativeMouseMode(SDL_FALSE);

This worked, though with the problem you mentioned when the invisible mouse
cursor leaves Enigma's window.

> Could you also try the following as replacement for line 932?
>    Log << "Result of SetRelativeMouseMode: " <<
> SDL_SetRelativeMouseMode(SDL_TRUE) << "\n";
> I assume that "enigma --log" yields something like
>    "Result of SetRelativeMouseMode: -1";
> Indicating an error.

No, the result of that is 0, and the large numbers problem of course re-appears.

> Oh, and is there a "Last SDL error:" at the end of the log (fourth line from
> the bottom)
> (Probably just "missing sound", but maybe it's an important hint.)

There is no "Last SDL error" in the log, and nothing in the log looks to me as
if it represents an SDL error message. There could be lines that I incorrectly
think are other warnings, but none of them strike me as being an SDL error


reply via email to

[Prev in Thread] Current Thread [Next in Thread]