I'm using glium in Rust. I want to get the width and the height.
I can't write and understand English well, because I'm Japanese. Maybe my English has some problems so I'm sorry.
I'm using glium in Rust. I want to get the width and the height.
I can't write and understand English well, because I'm Japanese. Maybe my English has some problems so I'm sorry.
Copyright © 2021 Jogjafile Inc.
As I mentioned in the comments section, there's a
Display::get_framebuffer_dimensions
, so if you have theglium::Display
object around, you can extract the dimensions of the OpenGL context using it.