Skip to content

Conversation

@tonihele
Copy link
Contributor

This fixes #801. Fix is like suggested in the forum post referred in the issue. Fixes for both LWJGL 2 & 3. Basically now all the initial values are in the init function so the same are always used. That seems to do the trick.

@stephengold
Copy link
Member

I tested this and it worked for me. Sweet!
I'll leave this PR for a day or 2 before integrating, in case anyone else wishes to review it.

@stephengold stephengold merged commit 867e461 into jMonkeyEngine:master Jan 28, 2020
@stephengold
Copy link
Member

stephengold commented Mar 12, 2020

pspeed42 pushed a commit that referenced this pull request Mar 24, 2020
* Test case for issue #801

* Reset the context with the initial values
@stephengold stephengold added this to the v3.3.0 milestone Apr 23, 2020
@Ali-RS
Copy link
Member

Ali-RS commented Mar 23, 2023

I am still able to reproduce this issue in JME 3.6.0-stable with LWJGL 2 on Linux. Running TestIssue801, after pressing the P key on the keyboard it shows a blank window.

A new fix is submitted in #1988

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

changing BitsPerPixel in AppSettings interferes with StatsAppState

3 participants