Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd `WindowSettings::draw_size` #939
Comments
bvssvni
added
draft
discussion
labels
Jul 25, 2015
This comment has been minimized.
This comment has been minimized.
|
One problem is that Probably need some way to tell whether one should resize. Could be |
This comment has been minimized.
This comment has been minimized.
|
The |
This comment has been minimized.
This comment has been minimized.
|
Doesn't seem like Glutin support this. |
This comment has been minimized.
This comment has been minimized.
|
rust-sdl2 doesn't support this either, it seems. |
This comment has been minimized.
This comment has been minimized.
|
It seems that window mode automatically sets the frame buffer. The only way to fix the resolution is to open the window in full screen. |
This comment has been minimized.
This comment has been minimized.
|
It remains to figure out whether |
This comment has been minimized.
This comment has been minimized.
|
I believe this is a viewport/transformation issue. It might be possible to do this without needing a setting. |
This comment has been minimized.
This comment has been minimized.
|
I haven't managed to find a good solution for this. Reopen if you have better ideas. |
bvssvni commentedJul 25, 2015
See https://www.reddit.com/r/rust_gamedev/comments/3ejcy2/using_piston_how_can_i_configure_a_set_game/
Currently the window back-end decides the resolution of the frame buffer.