Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

[EMI DEMO] ALT+Enter to toggle fullscreen causes broken textures. #929

Closed
Slipyx opened this issue Jun 15, 2014 · 4 comments
Closed

[EMI DEMO] ALT+Enter to toggle fullscreen causes broken textures. #929

Slipyx opened this issue Jun 15, 2014 · 4 comments

Comments

@Slipyx
Copy link

Slipyx commented Jun 15, 2014

Using alt+enter to go from windowed to fullscreen or fullscreen to windowed cause a change in texture behavior. Shown here:

emidemoalte
(Note: This is shown using the pending lighting fixes, but the same texture issues happen in current master.)

Guybrush seems to be textured using the current set's background image, but all other models seem to loose their textures and only be solid colored.

@Botje
Copy link
Member

Botje commented Jun 15, 2014

For which renderer is this?

@tombsar
Copy link
Contributor

tombsar commented Jun 15, 2014

At a guess, this is OpenGL, and the program creates a new context when creating the fullscreen window. Textures are associated with a single context, and so would need to be reloaded under those circumstances.

@somaen
Copy link
Member

somaen commented Jun 15, 2014

I thought we already did a save/load-routine to get to full-screen at all? Are savegames broken for the EMI Demo? (Yeah, I know, there's no UI for savegames there at all, so it's probably not well tested).

@Slipyx
Copy link
Author

Slipyx commented Jun 16, 2014

This is using OpenGL. Doing alt+enter using software succeeds in creating a save file but crashes after savegameRestore finishes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

6 participants