Skip to content
Snippets Groups Projects

Renderer switching

Merged Lactozilla requested to merge renderswitch into master

Oh hi, this is "james". This MR now also adds CV_NOLUA. Cvars with this flag cannot be set via Lua. renderer has this flag.

Hi this is bird.

srb20021

Edited by James R.

Merge request reports

Checking pipeline status.

Approval is optional

Merged by avatar (May 4, 2025 9:44am UTC)

Merge details

  • Changes merged into next with 5e5f3c4f.
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
1627 1641 ))
1628 1642 framebuffer = SDL_TRUE;
1629 1643 }
1630 if (M_CheckParm("-software"))
1631 {
1644
1645 #ifdef HWRENDER
1646 if (M_CheckParm("-opengl"))
1647 rendermode = render_opengl;
1648 else if (M_CheckParm("software"))
  • Lactozilla added 1 commit

    added 1 commit

    • 79daafd8 - Fix missing "-" prefix on "-software" cmdline parm

    Compare with previous version

  • This suffers from the same bug as the 2.1 version did, where seitching to software on Linux would leave you with blank screen

  • Lactozilla marked as a Work In Progress

    marked as a Work In Progress

  • Lactozilla added 12 commits

    added 12 commits

    • 79daafd8...1771c7c8 - 9 commits from branch master
    • 5c8604ae - Merge remote-tracking branch 'origin/master' into renderswitch
    • 77747c66 - Fix switching to software
    • 4e349cbd - Remove W_UnlockCachedPatch calls to avoid crashing

    Compare with previous version

  • Lactozilla unmarked as a Work In Progress

    unmarked as a Work In Progress

  • Author Contributor

    fixed by cherrypicking 77747c66df62e4c110c899f3b8be252a0c0db0aa i hope

  • Fix seems to work

  • Lactozilla added 66 commits

    added 66 commits

    Compare with previous version

  • Why is renderer hidden?

  • Author Contributor

    Take a wild guess

  • ??????????

  • Is this something dumb like Lua changing it?

  • Author Contributor

    Yes!

  • Author Contributor

    Not even my decision!

  • Well I know the concern there so maybe I'll just write something to make it work in cnosole, but not from Lua...

  • James R. added 3 commits

    added 3 commits

    • f26bdf00 - A system to encode flags in the command buffer
    • cb29a9dd - CV_NOLUA for when a cvar should not be changed via Lua
    • 4959d52a - Make cv_renderer CV_NOLUA instead of hidden!!!

    Compare with previous version

  • James R. changed the description

    changed the description

  • James R. added 1 commit
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading