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

canvas.copy is not working #54

Closed
notnightly opened this issue Aug 7, 2022 · 0 comments · Fixed by #58
Closed

canvas.copy is not working #54

notnightly opened this issue Aug 7, 2022 · 0 comments · Fixed by #58

Comments

@notnightly
Copy link
Contributor

Trying to update deno-dino but latest SDL2 throws this error:

SDL2 initialized on Mac OS X
error: Uncaught TypeError: Invalid FFI pointer type, expected null, integer, BigInt, ArrayBuffer, or ArrayBufferView
    const ret = sdl2.symbols.SDL_RenderCopy(
                             ^
    at Canvas.copy (https://deno.land/x/[email protected]/mod.ts:523:30)
    at gameLoop (file:///Users/x/nightly/dino-deno/game.ts:68:17)
    at file:///Users/x/nightly/dino-deno/game.ts:187:7
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

Successfully merging a pull request may close this issue.

1 participant