You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to compile my application from Linux to Windows. I use go-gl jointly with go-sdl2 and to compile the program I follow these instructions. Additionally, I set CGO_CFLAGS to -DTAG_WINDOWS -D_WIN32 and CGO_LDFLAGS to -lopengl32 and I run go build with WGL tag:
Unfortunately, when I run the program on my Windows machine gl.Init fails to load glGetnTexImage. Following README, I call gl.Init after activating OpenGL context:
I'm trying to compile my application from Linux to Windows. I use go-gl jointly with go-sdl2 and to compile the program I follow these instructions. Additionally, I set
CGO_CFLAGS
to-DTAG_WINDOWS -D_WIN32
andCGO_LDFLAGS
to-lopengl32
and I rungo build
withWGL
tag:Unfortunately, when I run the program on my Windows machine
gl.Init
fails to loadglGetnTexImage
. Following README, I callgl.Init
after activating OpenGL context:On Windows I have opengl 4.6.
The text was updated successfully, but these errors were encountered: