mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-28 18:24:22 +00:00
Fixed a few remaining functions to directly return their values instead of an error code.
This commit is contained in:
@@ -332,7 +332,7 @@ SDL_GL_LoadTexture(SDL_Surface *surface, GLfloat *texcoord)
|
||||
}
|
||||
|
||||
/* Save the alpha blending attributes */
|
||||
SDL_GetSurfaceBlendMode(surface, &saved_mode);
|
||||
saved_mode = SDL_GetSurfaceBlendMode(surface);
|
||||
SDL_SetSurfaceBlendMode(surface, SDL_BLENDMODE_NONE);
|
||||
|
||||
/* Copy the surface into the GL texture image */
|
||||
|
||||
Reference in New Issue
Block a user