deno_sdl2 icon indicating copy to clipboard operation
deno_sdl2 copied to clipboard

SDL2 module for Deno

Results 17 deno_sdl2 issues
Sort by recently updated
recently updated
newest added

Trying to update [deno-dino](https://github.com/dhairy-online/dino-deno) 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...

Attempting to run the sample program gives the following error: ``` error: Uncaught (in promise) Error: Could not open library: Could not open library: libjpeg.so.8: cannot open shared object file:...

Full output: ``` ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection terminated ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection terminated ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection terminated...

bug

Trying to run the hello.ts example, but getting an error, pasted below. This happens on multiple machines on the latest deno. The most recent version of deno I have laying...

When i try tu run deno 1.40 webGPU examples, i get this error: ![image](https://github.com/littledivy/deno_sdl2/assets/78345/8f5c8a35-a003-43f6-83c1-938d7b5880a7)

I am curious to see how you deal with memory management. I see `SDL_DestroyWindow` declared but never used https://github.com/littledivy/deno_sdl2/blob/b0381ee18f3033915f65e44f4d4bbf0da17d5797/mod.ts#L73 How is this supposed to work?

Fixed error when trying to build window **Fixed** [https://github.com/littledivy/deno_sdl2/issues/55](https://github.com/littledivy/deno_sdl2/issues/55)

example code: ```ts import { EventType, WindowBuilder, getKeyName } from "jsr:@divy/[email protected]"; const win = new WindowBuilder("Three.js demo - webgpu/backdrop", 800, 600).build(); new Promise((resolve) => setTimeout(() => { console.log("timeout"); resolve(undefined); },...