Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
-2 votes
0 answers
84 views

I am using C++ and SDL3 on Windows using an Intel Integrated GPU to make a Game. I am trying to initialize a Graphics Pipeline to render a triangle: #include <SDL3/SDL_video.h> #include <SDL3/...
Raute's user avatar
  • 39
3 votes
1 answer
266 views

I am making a 64-bit game on Windows with SDL3, CMake and C++. I have managed, using my CMakeLists.txt, to dynamically link my program with SDL3. I am using the MinGW-w64 C++ Compiler, and I do not ...
1 vote
1 answer
152 views

I’m currently working on a mouse injector for emulators project I’ve forked on github. The issue: When after some seconds the application is minimized I get sluggish gamepad inputs and input delay. ...
0 votes
1 answer
99 views

In the SDL_Surface structure, is there a way to calculate the bounds of the pixels Member? I need a quicker way of doing this, so my code doesn't catch seg-faults while running. On my Linux Laptop, ...
0 votes
0 answers
91 views

I am using an i686 system, with the compiler mingw G++. I can run code that creates a GPU device and attaches it to a window fine on that machine. However, when I attempt to run it on my i686 windows ...
0 votes
1 answer
103 views

I'm trying to create a shared texture between Vulkan and OpenGL, and as I understand the process, it's split in two parts: exporting the memory during allocation and then getting a Windows HANDLE to ...
Blindy's user avatar
  • 67.9k
2 votes
1 answer
313 views

I'm trying to modify a texture pixel by pixel using a framebuffer, In my code I'm trying to fill the texture with white pixels, nothing seems to work. #include <iostream> #include <SDL3/SDL....
0 votes
1 answer
263 views

I am trying to learn imgui by first create a project using its library. But, first I wanted to run one of the examples found in the github repository. I am not using an IDE, only my mac terminal. ...
-1 votes
1 answer
180 views

Whenever I go to debug and run my game, the memory just climbs, As you can see, I wipe the memory after I'm done with it (so I thought) Any tips on managing memory in this state? (using Visual Studio ...
user avatar
1 vote
0 answers
326 views

I'm using NixOS and trying to learn SDL, yesterday I got a code example to build and work but today it stopped working, I tried rebuilding everything in a different directory with no success. I'm ...
1 vote
0 answers
113 views

I wrote a basic program to draw a line across two corners of the screen with SDL2: // Linux build: // gcc test.c -lSDL2 -lSDL2main -o test // // Windows build (Linux VM using MinGW): // x86_64-w64-...
0 votes
0 answers
187 views

I'm automating the Android build process for an SDL3-based project without using Gradle. While SDL provides an Android project template, it doesn't fully cover my case, so I'm customizing it to ...
2 votes
1 answer
124 views

I came across a behavior in SDL3 that concerns me. In SDL3, the standard position of the origin of the screen's coordinate system is in the upper left corner. I tried rendering a simple 100x100 ...
0 votes
0 answers
161 views

I'm building an OpenGL 4.6 application using SDL3 and GLAD, compiled with g++: // g++ -Wall -Ofast main.cpp include/glad/glad.c -Iinclude/SDL3 -Linclude/SDL3 -lSDL3 -lopengl32 -o build/program #define ...
13 votes
1 answer
2k views

When I try to execute this SDL3 program: // g++ -Wall -Ofast main.cpp -Iinclude -Iinclude/SDL3 -Linclude/SDL3 -lSDL3 -o build/program #define SDL_MAIN_HANDLED #include <iostream> #include <...

15 30 50 per page
1
2 3 4 5
...
333

AltStyle によって変換されたページ (->オリジナル) /