r_sdlDriver
OpenJK
Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.
Controls r_sdlDriver in the engine-shared module. Consult the cited behavior reads before relying on values not listed here.
At a glance
| Field | Value |
|---|---|
| Category | Graphics & rendering |
| Module | engine-shared |
| Also registered in | engine-shared |
| Renderer | All / not renderer-specific |
| Network scope | client-only — Local to the client/UI/renderer. |
| Derivation | code-trace |
| Confidence | medium |
| In-game xdocs | No |
| In-game menu | No |
| Default | `` |
| Value type | string |
| Restart | Yes; the value is latched. |
| Cheat protected | No |
Values
No discrete value list is enforced or documented in the inspected source.
Flags
CVAR_ARCHIVE_ND— saved to configuration without marking the cvar as user-createdCVAR_LATCH— latched until the relevant subsystem or map is restarted
Provenance
Origin: OpenJK
- Ultimate-origin introduction:
a7c43677a2bbin OpenJK (content authored2014-12-22, integrated2015-02-07) - Upstream registration evidence: shared/sdl/sdl_window.cpp:735
- Attribution method:
shared-earliest-commit-lineage-order - Attribution confidence:
medium - Notes: The earliest authored/submitted introduction is shared by openjk, eternaljk, rend2, taystjk, japro, newjk, vulkan; fork-lineage order selects openjk. Dated commit evidence identifies later registration changes relative to the origin snapshot.
Dated project introductions
Authored dates come from the exact registration’s first content commit, PR dates identify when work was proposed to each project, and integration dates come from each first-parent mainline. A project merging first does not override earlier upstream authorship or submission.
| Project | Authored | PR opened | Integrated | Commit | Relationship |
|---|---|---|---|---|---|
| OpenJK | 2014-12-22 |
— | 2015-02-07 |
a7c43677a2bb |
Ultimate origin |
| EternalJK | 2014-12-22 |
— | 2015-02-07 |
a7c43677a2bb |
Shared integration commit |
| rend2 | 2014-12-22 |
— | 2015-02-07 |
a7c43677a2bb |
Shared integration commit |
| TaystJK | 2014-12-22 |
— | 2015-02-07 |
a7c43677a2bb |
Shared integration commit |
| jaPRO | 2014-12-22 |
— | 2015-02-07 |
a7c43677a2bb |
Shared integration commit |
| NewJK / NewMod | 2014-12-22 |
— | 2015-02-07 |
a7c43677a2bb |
Shared integration commit |
| Vulkan | 2014-12-22 |
— | 2015-02-07 |
a7c43677a2bb |
Shared integration commit |
| JK2MV | 2016-03-25 |
— | 2016-03-28 |
59313f7414a1 |
Other project appearance |
Later changes
These commits occur after the ultimate-origin introduction on TaystJK’s inherited first-parent lineage. Registration evidence is exact; behavior evidence requires a changed bound cvar reference or a changed registered command-handler hunk.
| Date | Change source | Commit / subject | Evidence | Confidence |
|---|---|---|---|---|
2025-04-26 |
OpenJK | 44d85df90f4b · PR #228Update built in SDL version for windows to 2.32.4 (#228) |
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. shared/sdl/sdl_window.cpp |
medium |
Evidence
- registration: shared/sdl/sdl_window.cpp:793 (Cvar_Get)
- behavior: shared/sdl/sdl_window.cpp:719
- behavior: shared/sdl/sdl_window.cpp:721