OSDN Git Service
(root)
/
sdl2referencejp
/
sdl2referencejp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0017525
)
SDL_Rect サンプルコードを修正 コピー先のwとhは無視されるため0とした https://github.com/libsdl-org/sdlwiki/commit...
master
author
maruhiro
<maruhiro@bridge.ocn.ne.jp>
Sun, 24 Sep 2023 08:35:37 +0000
(17:35 +0900)
committer
maruhiro
<maruhiro@bridge.ocn.ne.jp>
Sun, 24 Sep 2023 08:35:37 +0000
(17:35 +0900)
SDL_Rect.html
patch
|
blob
|
history
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