Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libSDL
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PocketInsanity
libSDL
Commits
c7c6cb46
Commit
c7c6cb46
authored
Jan 04, 2011
by
Sam Lantinga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The source rectangle isn't modified in SDL_UpperBlit
parent
03981046
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
SDL_surface.h
include/SDL_surface.h
+1
-1
SDL_surface.c
src/video/SDL_surface.c
+1
-1
No files found.
include/SDL_surface.h
View file @
c7c6cb46
...
@@ -585,7 +585,7 @@ extern DECLSPEC int SDLCALL SDL_BlendFillRects
...
@@ -585,7 +585,7 @@ extern DECLSPEC int SDLCALL SDL_BlendFillRects
* rectangle validation and clipping before passing it to SDL_LowerBlit()
* rectangle validation and clipping before passing it to SDL_LowerBlit()
*/
*/
extern
DECLSPEC
int
SDLCALL
SDL_UpperBlit
extern
DECLSPEC
int
SDLCALL
SDL_UpperBlit
(
SDL_Surface
*
src
,
SDL_Rect
*
srcrect
,
(
SDL_Surface
*
src
,
const
SDL_Rect
*
srcrect
,
SDL_Surface
*
dst
,
SDL_Rect
*
dstrect
);
SDL_Surface
*
dst
,
SDL_Rect
*
dstrect
);
/**
/**
...
...
src/video/SDL_surface.c
View file @
c7c6cb46
...
@@ -640,7 +640,7 @@ SDL_LowerBlit(SDL_Surface * src, SDL_Rect * srcrect,
...
@@ -640,7 +640,7 @@ SDL_LowerBlit(SDL_Surface * src, SDL_Rect * srcrect,
int
int
SDL_UpperBlit
(
SDL_Surface
*
src
,
SDL_Rect
*
srcrect
,
SDL_UpperBlit
(
SDL_Surface
*
src
,
const
SDL_Rect
*
srcrect
,
SDL_Surface
*
dst
,
SDL_Rect
*
dstrect
)
SDL_Surface
*
dst
,
SDL_Rect
*
dstrect
)
{
{
SDL_Rect
fulldst
;
SDL_Rect
fulldst
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment