About 12,400,000 results
Open links in new tab
  1. How to draw circles, arcs and vector graphics in SDL?

    How to draw circles, arcs and vector graphics in SDL? Asked 9 years, 3 months ago Modified 2 years, 10 months ago Viewed 64k times

  2. What is an SDL renderer? - Stack Overflow

    SDL_Texture and SDL_Surface The SDL_Renderer renders SDL_Texture, which stores the pixel information of one element. It's the new version of SDL_Surface which is much the same. The …

  3. c - Drawing a rectangle with SDL2 - Stack Overflow

    Feb 20, 2014 · SDL_Renderer* SDL_CreateRenderer(SDL_Window* window, int index, Uint32 flags) index defines what driver to use. Set it to -1 to use the first driver that supports the other …

  4. 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 …

  5. Fastest way to draw filled quad/triangle with the SDL2 renderer?

    Oct 5, 2021 · 15 I have a game written using SDL2, and the SDL2 renderer (hardware accelerated) for drawing. Is there a trick to draw filled quads or triangles? At the moment I'm …

  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. How do I use SDL2 in my programs correctly? - Stack Overflow

    Oct 16, 2020 · I want to make a game using SDL2, but I'm unable to compile and/or run my code, please help! SDL2 is notoriously hard to set up, and it's often the first library aspiring game …

  9. c++ - Using SDL2 with CMake - Stack Overflow

    Feb 8, 2015 · I'm trying to use CLion to create a SDL2 project. The problem is that the SDL headers can't be found when using #include's. My CMakeLists.txt file: …

  10. Why are SDL and OpenGL related? - Stack Overflow

    SDL is a layer above OpenGL; in fact it uses GDI on Windows by default and also has a DirectX backend. People are probably saying you can use OpenGL to get around limitations of SDL on …