mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-26 10:19:47 -04:00
f36b458a78
The stb launcher revamp (8b098bd,ae89a8f,89e0e0f) uses modern GL 3.0+ without the SDL_GL_GetProcAddress loader ('Phase 2b'), so it fails to link into game builds, and its rendered UI is not acceptable (user review 2026-07-10). Revert master to the working RmlUi launcher — the same revert every recent release (Ape v0.0.2, Tomba2 v0.0.2) already shipped with. The stb work remains reachable via the original commits if a Phase-2b GL-loader follow-up ever revives it. (cherry picked from release/ape-v0.0.2-rmlui929b78b)
7 lines
384 B
C++
7 lines
384 B
C++
// stb_image implementation TU. Kept separate so the (large) decoder lives in
|
|
// its own translation unit and launcher.cpp only sees the declarations.
|
|
#define STB_IMAGE_IMPLEMENTATION
|
|
#define STBI_NO_STDIO // we feed it memory buffers via RmlUi's FileInterface
|
|
#define STBI_ONLY_PNG // launcher art is PNG; keeps the decoder small
|
|
#include "third_party/stb_image.h"
|