[−][src]Function sdl2_sys::SDL_GL_BindTexture
pub unsafe extern "C" fn SDL_GL_BindTexture(
texture: *mut SDL_Texture,
texw: *mut f32,
texh: *mut f32
) -> c_int
\brief Bind the texture to the current OpenGL/ES/ES2 context for use with OpenGL instructions.
\param texture The SDL texture to bind \param texw A pointer to a float that will be filled with the texture width \param texh A pointer to a float that will be filled with the texture height
\return 0 on success, or -1 if the operation is not supported