About 3,550,000 results
Open links in new tab
  1. SDL_GetKeyboardState not capturing key presses - Stack Overflow

    Mar 4, 2025 · I am trying to make a controller for a game with SDL 2(didn't want to ask on gamedev since it is not a game issue directly) I use SDL_GetKeyboardState to see if the …

  2. How to draw circles, arcs and vector graphics in SDL?

    Dec 9, 2022 · How to draw circles, arcs and vector graphics in SDL? Asked 8 years, 11 months ago Modified 2 years, 6 months ago Viewed 63k times

  3. What is an SDL renderer? - Stack Overflow

    SDL_Renderer SDL_Renderer is a struct that handles all rendering. It is tied to a SDL_Window so it can only render within that SDL_Window. It also keeps track the settings related to the …

  4. '"SDL.h" no such file or directory found' when compiling

    '"SDL.h" no such file or directory found' when compiling Asked 13 years, 2 months ago Modified 4 years, 10 months ago Viewed 215k times

  5. c++ - Adding SDL library to my program - Stack Overflow

    Jan 2, 2015 · Yes, as a matter of fact: SDL is a cross-platform multimedia library and the code above works on linux as well. Maybe you will need to set another path to SDL.H l like: #ifdef …

  6. c - How to render text in SDL2? - Stack Overflow

    Apr 5, 2014 · I'm using an SDL_Window and SDL_Renderer. Is it possible to use SDL_TTF with SDL_Render/SDL_Window? If so, how?

  7. sdl - Static-linking of SDL2 libraries - Stack Overflow

    I managed to compile the SDL libraries with the guide Jonas provided, and got a libSDL2.a file. At first I only added the path of libSDL2.a to "Link libraries:" -section of Code::Blocks, but I got a …

  8. c++ - SDL2 on Raspberry Pi without X? - Stack Overflow

    Aug 27, 2019 · Alrighty, got it working on my Raspberry Pi 3 with 2019-07-10-raspbian-buster-lite.img, both with the default Broadcom blobs & the KMS / DRM backend: Make sure your …

  9. Achieving a constant frame rate in SDL - Stack Overflow

    Mar 30, 2010 · I'm trying to make an SDL program that runs with a constant frame rate. However I'm finding that even though my program is lagging a lot and skipping a lot of frames (even …

  10. Newest 'sdl' Questions - Stack Overflow

    0answers 40views SDL program can't find available video device on NixOS I'm using NixOS and trying to learn SDL, yesterday I got a code example to build and work but today it stopped …