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

SDL_GL_BindTexture (SDL.Video.SDL_GL_BindTexture) takes floats #20

Open
2 tasks
Lucretia opened this issue Feb 16, 2018 · 0 comments
Open
2 tasks

SDL_GL_BindTexture (SDL.Video.SDL_GL_BindTexture) takes floats #20

Lucretia opened this issue Feb 16, 2018 · 0 comments

Comments

@Lucretia
Copy link
Collaborator

Lucretia commented Feb 16, 2018

In the SDL_GL_BindTexture) section, this function returns two floating point values, why are they floats instead of ints? In the source these can be 0.0, 1.0 or the texture dimensions. In the examples they are multiplied by texture coords.

  • Should the binding reflect this?
  • Move the function to SDL.Video.Textures.GL package to reflect what it operates on or keep where it is?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant