Files
cadcraft/apps
Tanish MankuandLuca Toniolo 11cbaf3642 CADCRAFT_STENCIL=0 starts the desktop app without a stencil buffer
Some old graphics drivers (Mesa on Intel HD 4000, old Intel drivers on
Windows) accept a render pass with a stencil buffer and then present a
black window. Setting CADCRAFT_STENCIL to 0, no or false (any case) opens
the window without one, so the app is usable on those machines. The
window and the canvas take the stencil bits from the same place, so they
always agree. Without a stencil buffer, clipped layout viewports draw
unclipped; a warning in the log says so. --help lists the variable.

Co-authored-by: Luca Toniolo <10792599+grandixximo@users.noreply.github.com>
2026-11-20 04:56:14 -07:00
..