Skip to main content
0 votes
1 answer
93 views

I have installed the packages that I need (as far as I know), and the window throws an empty error when I run it. Output is: /home/bence/Programming/cpp/game1/cmake-build-debug/game1 SDL_Init Error: ...
14ohms's user avatar
  • 8
1 vote
0 answers
104 views

I am new to graphics in general, so I am trying to learn from others. After drawing a triangle, a quad and then a sprite on top, I have been trying to get a batch of them on screen using instancing. ...
Abhijit Kar ツ's user avatar
2 votes
1 answer
266 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....
Ayoub Meziane's user avatar
0 votes
1 answer
233 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. ...
Charles Florestal's user avatar
-1 votes
1 answer
178 views

Question: In which case the "PCH allocation failure" is going happened even the main memory is enough. What is the address in "MapViewOfFileEx: Attempt to access invalid address."....
ALL Nick's user avatar
0 votes
1 answer
284 views

Currently I'm trying to add SDL3 and ImGui to my 2D game engine's config.cmake file. I would like to use that library as below from external project. find_package(MyEngine REQUIRED) add_executable(...
kreedxe's user avatar
-2 votes
1 answer
87 views

I'm writing a basic tile map editor in C and SDL3. I have two 2d arrays of a user defined data type #define GRID_WIDTH 38 #define GRID_HEIGHT 28 typedef struct { bool ...
jakarta_tea's user avatar
0 votes
0 answers
122 views

When I execute the Makefile, it runs properly with no problem but as I close the SDL3(game) window, It throws a pop-up saying "launch: program '/home/mayank/Documents/Projects/Game/main' does not ...
Mayank's user avatar
  • 9
0 votes
0 answers
147 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 ...
HannesScript's user avatar
13 votes
1 answer
1k 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 <...
HannesScript's user avatar
3 votes
1 answer
114 views

I tried to make a square that maintains its size and aspect ratio during window resizing using SDL3 and SDL_SetRenderLogicalPresentation() with the SDL_LOGICAL_PRESENTATION_LETTERBOX mode: import sdl3 ...
werwer werwer's user avatar
0 votes
0 answers
639 views

I copied a SDL3 tutorial CMake project from: https://glusoft.com/sdl3-tutorials/install-sdl3-windows/ I did everything as the tutorial showed, except I downloaded the SDL3 source code from Git and ...
user19179144's user avatar
13 votes
0 answers
672 views

Creating a borderless OpenGL window with SDL3 on Windows at the native display resolution results in the window unexpectedly switching to an exclusive fullscreen mode. This happens specifically after ...
Vittorio Romeo's user avatar
0 votes
0 answers
312 views

I am working with SDL3 and I am encountering an issue with rendering textures. I am able to create the textures, but they don't show up on the screen when I try to render them. Here's what I'm trying ...
kian h's user avatar
  • 1
1 vote
0 answers
70 views

github.com/jupiterrider/purego-sdl3 I am having difficulty in getting the following 'Hello World' example to run, and am wondering what I have done wrong: package main import ( "github.com/...
John Newcombe's user avatar

15 30 50 per page