Skip to content

[toolkit] Initialize SDL3 for toolkit#93

Merged
modawan merged 1 commit intomasterfrom
sdl3-toolkit
Feb 27, 2026
Merged

[toolkit] Initialize SDL3 for toolkit#93
modawan merged 1 commit intomasterfrom
sdl3-toolkit

Conversation

@modawan
Copy link
Copy Markdown
Owner

@modawan modawan commented Feb 24, 2026

SDL_Init and SDL_GL_LoadLibrary are required before we attempt to use SDL_GL_GetProcAddress in graphics::Context::init. Otherwise SDL_GL_GetProcAddress is NULL and we crash in gladLoadGL.

This fixes the toolkit after #86.

SDL_Init and SDL_GL_LoadLibrary are required before we attempt to use
SDL_GL_GetProcAddress in graphics::Context::init. Otherwise
SDL_GL_GetProcAddress is NULL and we crash in gladLoadGL.

This fixes the toolkit after #86.
@modawan modawan added this to the Endar Spire milestone Feb 24, 2026
@modawan modawan merged commit 53a7d38 into master Feb 27, 2026
2 checks passed
@modawan modawan deleted the sdl3-toolkit branch March 1, 2026 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant