OSDN Git Service
(root)
/
sdl2referencejp
/
sdl2referencejp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
SDL_Rect サンプルコードを修正 コピー先のwとhは無視されるため0とした https://github.com/libsdl-org/sdlwiki/commit...
[sdl2referencejp/sdl2referencejp.git]
/
SDL_Rect.html
diff --git
a/SDL_Rect.html
b/SDL_Rect.html
index
9a68d80
..
4fed1b1
100644
(file)
--- a/
SDL_Rect.html
+++ b/
SDL_Rect.html
@@
-33,8
+33,8
@@
srcrect.w = 32;
srcrect.h = 32;
\r
dstrect.x = 640/2;
\r
dstrect.y = 480/2;
\r
-dstrect.w =
32
;
\r
-dstrect.h =
32
;
\r
+dstrect.w =
0
;
\r
+dstrect.h =
0
;
\r
\r
SDL_BlitSurface(src, &srcrect, dst, &dstrect);
\r
</pre>
\r