Commit Graph

5 Commits

Author SHA1 Message Date
Paul Cercueil
6ea25ff3c7
samples: Fix dual inclusion of romdisk file
The romdisk is automatically initialized when linked, and does not have
to be initialized in any way in C code. Doing so results in multiple
inclusions of the romdisk file.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2026-06-27 12:14:33 +02:00
Falco Girgis
5466dc227f Tenth time is a charm! 2025-02-18 22:09:48 -06:00
Falco Girgis
643685a7b7 ifdef-ing more DC-specifics from Nehe16
- Attempting to fix build.
2025-02-18 22:04:49 -06:00
Falco Girgis
d2eb58d7e8 Moved DC include into #ifdef to fix x86 build. 2025-02-18 22:00:46 -06:00
Falco Girgis
56f5b24d85 Fixed OpenGL Fog implementation + Added New Sample
- Redid fog.c OpenGL fog back-end implementation
    * only reconfigure fog values when changed
    * properly clamp between 0.0f and 1.0f colors
    * error out on negative densities
    * separate fog statics became single struct
- Added Nehe16 example (adapted from KGL)
    * Made spinning much faster (so you can see it better)
    * fixed a few issues with KGL code (invalid GL enums, lol)
    * swapped to new controller API
    * added #ifdef for non-DC file paths
2025-02-18 21:52:19 -06:00