Purego rlgl implemented

This commit is contained in:
JupiterRider 2023-11-18 15:11:00 +01:00
parent 7637a03441
commit 251b88bcb4
4 changed files with 1664 additions and 874 deletions

View file

@ -512,6 +512,8 @@ var detachAudioMixedProcessor func(processor uintptr)
func init() {
raylibDll = loadLibrary()
initRlglPurego()
purego.RegisterLibFunc(&initWindow, raylibDll, "InitWindow")
purego.RegisterLibFunc(&closeWindow, raylibDll, "CloseWindow")
purego.RegisterLibFunc(&windowShouldClose, raylibDll, "WindowShouldClose")