About 5,100,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 8 years, 11 months ago Modified 2 years, 6 months ago Viewed 63k times

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

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

    Apr 6, 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?

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

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

  6. What does SDL_Init exactly do? - Stack Overflow

    Dec 1, 2018 · SDL_VideoInit does all the work. You can also manually call SDL_VideoInit if you want a particular driver: SDL_GetVideoDriver returns a suitable name to pass as argument to …

  7. c++ - SDL2 AntiAliasing - Stack Overflow

    Nov 8, 2013 · How to turn on antialiasing in SDL2, when using SDL_RenderCopyEx? I find some articles that suggest to use: SDL_GL_SetAttribute(SDL_GL_MULTISAMPLEBUFFERS, 1); …

  8. sdl - How to use OpenGL context in SDL2? - Stack Overflow

    Nov 26, 2020 · My questions are How to use OpenGL context in SDL2? What library/libraries is/are needed to use OpenGL in SDL2? I am on Windows 10, vs2019. I am trying use OpenGL …

  9. Why SDL defines main macro? - Stack Overflow

    Oct 10, 2015 · 55 After having some trouble setting up SDL, I found out that SDL defines a macro that replaces main: #define main SDL_main // And then extern C_LINKAGE int SDL_main(int …

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

    Feb 20, 2014 · Initialize SDL SDL and SDL2 needs to be initialized before you can use it. The way to initialize SDL is the following function. int SDL_Init(Uint32 flags) Where flags can be a …