diff --git a/render.c.v b/render.c.v index 9082bb4c..3b4d793c 100644 --- a/render.c.v +++ b/render.c.v @@ -530,7 +530,7 @@ pub fn update_nv_texture(texture &C.SDL_Texture, const_rect &Rect, const_yplane u_vpitch) } -fn C.SDL_LockTexture(texture &C.SDL_Texture, const_rect &C.SDL_Rect, pixels voidptr, pitch &int) int +fn C.SDL_LockTexture(texture &C.SDL_Texture, const_rect &C.SDL_Rect, pixels &voidptr, pitch &int) int // lock_texture locks a portion of the texture for **write-only** pixel access. // @@ -555,7 +555,7 @@ fn C.SDL_LockTexture(texture &C.SDL_Texture, const_rect &C.SDL_Rect, pixels void // SDL_GetError() for more information. // // See also: SDL_UnlockTexture -pub fn lock_texture(texture &Texture, const_rect &Rect, pixels voidptr, pitch &int) int { +pub fn lock_texture(texture &Texture, const_rect &Rect, pixels &voidptr, pitch &int) int { return C.SDL_LockTexture(texture, const_rect, pixels, pitch) }