Skip to content

Commit 9b7fc44

Browse files
committed
feat(bootstrapper): set egl on prefix init
1 parent 03d856c commit 9b7fc44

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmd/vinegar/bootstrapper_setup_pfx.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ func (b *bootstrapper) setupPrefix() error {
3030
return fmt.Errorf("winedbg set: %w", err)
3131
}
3232

33+
if err := b.pfx.RegistryAdd(`HKCU\Software\Wine\X11 Driver`, "UseEGL", "Y"); err != nil {
34+
return fmt.Errorf("egl set: %w", err)
35+
}
36+
3337
// Latest versions of studio require a implemented call, check if the given
3438
// prefix supports it
3539
if b.cfg.Studio.ForcedVersion != "" {

0 commit comments

Comments
 (0)