Skip to content

Commit

Permalink
add key windows linker lib flags: needs opengl32 and gdi32
Browse files Browse the repository at this point in the history
  • Loading branch information
rcoreilly committed Aug 12, 2024
1 parent 3b453e1 commit ca2e8ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu/wgpu.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ package wgpu
// Windows
#cgo windows,amd64 LDFLAGS: -L${SRCDIR}/lib/windows/amd64 -lwgpu_native
#cgo windows LDFLAGS: -ld3dcompiler_47 -lws2_32 -luserenv -lbcrypt -lntdll
#cgo windows LDFLAGS: -lopengl32 -lgdi32 -ld3dcompiler_47 -lws2_32 -luserenv -lbcrypt -lntdll
#include <stdio.h>
#include "./lib/wgpu.h"
Expand Down

0 comments on commit ca2e8ad

Please sign in to comment.