-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Taking screenshots on Windows messes up view angle #18
Comments
For the record, this also happens with SDL2. |
so, where is the issue and is it fixable ? :) |
Shall we close this issue or is there a solution? :) |
I keep forgetting to look into this, I will add it to my list. |
Yeah, don't just close it. |
cool stuff, thanks guys :) |
Oh, windows specific? Ehhhhh, I will have a look at the code but cant test for that. |
yeah, it only happens on Windows (can't test OS X) |
and I will test it for you as soon as you can give me patch ! :) |
No luck with this issue yet ? |
I have a hunch about it, when I hit F12 the cursor becomes visible. |
well, it becomes visible on Linux too, but on Linux view doesn't move like on Windows |
Basically its an SDL bug that unhiding the cursor is causing a movement event (IMO). |
why wouldn't it move the view on Linux ? |
Because SDL has different code on X11 than on windows. |
ahh, gotcha. Well, if you have a patch, I can test it. |
Not exactly, the best solution would be to correct the functionality in SDL imo. |
hmm.. DarkPlaces uses SDL 1.2.14 and has no issues with screenshots. Btw, I am not using dhewm3 builds with SDL2, I am using a build prior to that. So I am not convinced it's SDL's issue. |
Darkplaces likely doesnt show/hide the cursor while a screenshot is taken. If you want to work around the bug you can dig into whatever is hiding the cursor and change that. |
So basically you are saying the issue is not solvable in the engine? |
I am saying it is solvable by a workaround. |
ahh, ok. So, would you be able to make workaround patch by any chance, please? :) |
see #40 |
When taking a screenshot on Windows with F12, the view turns left and centers.
Clean install of Doom 3, yesterday's git checkout, Windows XP 32bit.
The text was updated successfully, but these errors were encountered: