Hacker GitHub

← All repos

libsdl-org/SDL

View on GitHub ↗ ★ 16,932 C

Simple DirectMedia Layer

59 mentions on Hacker News by 50 people: 17 stories, 42 comments · first 2021-05-08 · latest 2026-10-27

Mentions per year 59 mentions · busiest year 2024 (14)
20082026
  1. …layer, where you can override it with your own copy of SDL even if it was statically linked: https://github.com/libsdl-org/SDL/blob/main/docs/README-dyna...
    comment by edflsafoiewq · 2022-01-02 · in Fixing stutters in Papers Please on Linux
  2. 1. Those will probably use SDL which has got support for wayland CSD: https://github.com/libsdl-org/SDL/pull/4068 2. Wine apps will probably have to draw the win32 decorations. Native apps can implement their own decorations or can use GTK…
  3. …I barely know SDL, but it does not look like it is super straightforward to integrate a socket: https://github.com/libsdl-org/SDL/blob/main/src/video/windows/SDL_windowsevents.c#L1430 https://github.com/libsdl-org/SDL-1.2/blob/main/src/even…
  4. ... apparently I was mistaken, this hasn't been released yet, it will be out with 2.0.18[0] [0] https://github.com/libsdl-org/SDL/milestone/2
  5. …write, if I feel like a masochist) a lightweight GUI library that uses QML like syntax in Lua. [0] https://github.com/libsdl-org/SDL/pull/4195
    comment by krapp · 2021-07-31 · in The Grim GUI Landscape
  6. …of code exactly? For comparison SDLs wayland backend implementation is like <10k lines of code: https://github.com/libsdl-org/SDL/tree/main/src/video/waylan...
  7. …could still be using libraries dynamically loaded at runtime for other necessary system components: https://github.com/libsdl-org/SDL/blob/c59d4dcd38c382a1e9b69... This is a hard requirement if your application uses OpenGL or Vulkan, you…
    comment by zxzax · 2021-05-22 · in Building Outer Wonders for Linux
  8. …setting an env var: SDL_DYNAMIC_API=/my/actual/libSDL-2.0.so.0 ./MyGameThatIsStaticallyLinkedToSDL2 https://github.com/libsdl-org/SDL/blob/main/docs/README-dyna...
    comment by MayeulC · 2021-05-22 · in Building Outer Wonders for Linux
  9. …target's endianness? C++20 added std::endian. Otherwise you can use a macro like this one from SDL https://github.com/libsdl-org/SDL/blob/9dc97afa7190aca5bdf92...
    comment by edflsafoiewq · 2021-05-08 · in The Byte Order Fiasco