Function sdl2_sys::SDL_GL_UnbindTexture
source ยท pub unsafe extern "C" fn SDL_GL_UnbindTexture(
texture: *mut SDL_Texture,
) -> c_int
Expand description
Unbind an OpenGL/ES/ES2 texture from the current context.
See SDL_GL_BindTexture() for examples on how to use these functions
\param texture the texture to unbind from the current OpenGL/ES/ES2 context \returns 0 on success, or -1 if the operation is not supported
\since This function is available since SDL 2.0.0.
\sa SDL_GL_BindTexture \sa SDL_GL_MakeCurrent