sdlada icon indicating copy to clipboard operation
sdlada copied to clipboard

SDL_GL_BindTexture (SDL.Video.SDL_GL_BindTexture) takes floats

Open Lucretia opened this issue 7 years ago • 0 comments

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?

Lucretia avatar Feb 16 '18 15:02 Lucretia