Skip to content
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

Investigate if this is the right way. #27

Open
github-actions bot opened this issue Aug 31, 2021 · 0 comments
Open

Investigate if this is the right way. #27

github-actions bot opened this issue Aug 31, 2021 · 0 comments

Comments

@github-actions
Copy link

Line: 127

//In egui 0.10.0 we seem to be losing the value to pixels_per_point,
//so setting it every frame now.
//TODO: Investigate if this is the right way.
self.egui_input_state.input.pixels_per_point = Some(self.native_pixels_per_point);
//An example of how OpenGL can be used to draw custom stuff with egui
//overlaying it:
//First clear the background to something nice.
unsafe {
// Clear the screen to black

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

No branches or pull requests

0 participants