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

Testing Glutin back-end with "user_input" #184

Closed
bvssvni opened this issue Mar 15, 2015 · 3 comments
Closed

Testing Glutin back-end with "user_input" #184

bvssvni opened this issue Mar 15, 2015 · 3 comments
Labels

Comments

@bvssvni
Copy link
Member

bvssvni commented Mar 15, 2015

Running the "user_input" example https://github.com/PistonDevelopers/piston-examples/blob/master/user_input/src/main.rs

On OSX 10.9.5, I get this with Glutin:

glutin

SDL2:

sdl2

@bvssvni bvssvni added the bug label Mar 15, 2015
@bvssvni
Copy link
Member Author

bvssvni commented Mar 15, 2015

The red square is the window size and the blue square is the draw size.

@bvssvni
Copy link
Member Author

bvssvni commented Mar 15, 2015

There are two problems here:

  • glutin_window includes the title bar in the size
  • the viewport is offset too high

@bvssvni
Copy link
Member Author

bvssvni commented Mar 15, 2015

Fixed.

@bvssvni bvssvni closed this as completed Mar 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant