About 50 results
Open links in new tab
  1. SDL3 fails to create OpenGL ES 2.0 context? - Stack Overflow

    Feb 18, 2025 · SDL_GL_CreateContext - Remarks Windows users new to OpenGL should note that, for historical reasons, GL functions added after OpenGL version 1.1 are not available by default.

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

    26 I'm using SDL2. The only way I can find to draw a shape is with the line, rect and pixel functions, as explained here. Apart from using trig or the "equation of a circle", how could I draw a curve? How …

  3. 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 navigation arrows are …

  4. sdl - Why do I get "SDL2.dll not found" error when loading .png files ...

    Nov 4, 2024 · SDL2_image, as the name implies, is for SDL2, not for SDL3. It seems a version of SDL_image for SDL3 wasn't released yet, but but they do support SDL3 in their main branch. So …

  5. SDL_Init() fails without returning an error? - Stack Overflow

    May 24, 2025 · It is preferable to return SDL_APP_CONTINUE instead of 0 in case the actual order of the SDL_AppResult enums change.

  6. c++ - What is an SDL renderer? - Stack Overflow

    I'm starting with SDL2 and having some trouble trying to understand what an SDL_Renderer is. What is it? What does it do? What's the difference between SDL_Renderer, SDL_Window, SDL_Surface and

  7. c - Can't link to SDL3 using MinGW - Stack Overflow

    Feb 4, 2025 · In SDL3, you need to add #include <SDL3/SDL_main.h> to the source file containing your main function (below #include <SDL3/SDL.h>). This header will create a platform appropriate entry …

  8. Forcing non-exclusive borderless fullscreen with SDL3 + OpenGL on ...

    May 9, 2025 · The actual behavior is the window entering an exclusive fullscreen-like mode upon the first call to SDL_GL_SwapWindow: There is a brief screen flicker or blanking, suggesting a display …

  9. Newest 'sdl' Questions - Stack Overflow

    Jan 22, 2026 · Simple DirectMedia Layer (SDL) is a cross-platform, free and open source multimedia library written in C that presents a simple interface to various platforms' graphics, sound, and input …

  10. c++ - Can't draw multiple objects using SDL? - Stack Overflow

    Jan 2, 2025 · The second solution, using smart pointers and their built-in copy-/move-semantics is a better solution, since copying a SDL_Texture seems to ber flawed (but possible, see this answer).