nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7fe181
)
lib/sdl: native_blit is private
author
Alexis Laferrière
<alexis.laf@xymus.net>
Thu, 27 Nov 2014 12:53:18 +0000
(07:53 -0500)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Tue, 2 Dec 2014 15:18:42 +0000
(10:18 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/sdl.nit
patch
|
blob
|
history
diff --git
a/lib/sdl.nit
b/lib/sdl.nit
index
df270e4
..
806b07b
100644
(file)
--- a/
lib/sdl.nit
+++ b/
lib/sdl.nit
@@
-173,7
+173,7
@@
extern class SDLDrawable `{SDL_Surface*`}
redef type I: SDLImage
redef fun blit(img, x, y) do native_blit(img, x.to_i, y.to_i)
- fun native_blit(img: I, x, y: Int) `{
+ private fun native_blit(img: I, x, y: Int) `{
SDL_Rect dst;
dst.x = x;
dst.y = y;