Lachee / raylib-goplus

A newer version of the Go bindings for Raylib
zlib License
75 stars 6 forks source link

[BUG] Trace Logs end prematurely #6

Open Gamerfiend opened 4 years ago

Gamerfiend commented 4 years ago

Describe the bug The output trace logs end prematurely, with information no longer being displayed.

INFO: [resources/textures/inventorybg.png] Image loaded successfully (1920x1080)
INFO: [TEX ID 9] Texture created successfully (1920x1080 - 1 mipmaps)
INFO: [TEX ID 2] Unloaded texture data from VRAM (GPU)
INFO: [TEX ID 1] Unloaded textur
Process finished with exit code -1073740940 (0xC0000374)

Before ending the program, the output log had just stopped mid line and didn't continue on. (Should display the rest of the loading? And then also display the teardown/unloadables)

When the program is exited the error above can be seen

Process finished with exit code -1073740940 (0xC0000374)

To Reproduce Load a few textures, models, and watch the log stop logging.

Expected behavior The log should behavior as it would in C, by continuing to log each piece of trace log.

go env Response

set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\Snowminx\AppData\Local\go-build
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=C:\Users\Snowminx\go
set GOPROXY=
set GORACE=
set GOROOT=C:\Go
set GOTMPDIR=
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\SNOW~1\AppData\Local\Temp\go-build744808242=/tmp/go-build -gno-record-gcc-switches