Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sdl.lock_texture prototype is wrong in documentation. #874

Closed
Bruno-Vdr opened this issue Nov 30, 2024 · 1 comment
Closed

sdl.lock_texture prototype is wrong in documentation. #874

Bruno-Vdr opened this issue Nov 30, 2024 · 1 comment

Comments

@Bruno-Vdr
Copy link
Contributor

The prototype of lock_texture in V module documentation is:
fn lock_texture(texture &Texture, const_rect &Rect, pixels voidptr, pitch &int) int

but it should be:

fn lock_texture(texture &Texture, const_rect &Rect, pixels **&**voidptr, pitch &int) int

With a reference on pixels.

V version:
OS:

What did you do?

What did you expect to see?

What did you see instead?

@larpon
Copy link
Contributor

larpon commented Dec 1, 2024

Fixed on each branch by #875, #876, #877, #878, #879, #880, #881, #882, #883, #884, #885, #886 and #887

@larpon larpon closed this as completed Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants