17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-17 06:19:19 +02:00
Files
maszyna/EU07.cpp
maj00r 741b955cc7 Ask for the discrete card before anything touches gl
A laptop with two graphics chips hands an application the integrated one
unless it says otherwise: this machine has a GeForce RTX 5060 and was
drawing on a Radeon 780M. libglvnd makes the choice when it first
resolves a gl entry point, which is after main starts, so setting the
environment here is enough - no wrapper script and no launcher. Names
already set by hand are left alone, and -integratedgpu undoes it for
anyone who would rather keep the battery.
2026-09-20 21:22:09 +02:00

5.7 KiB