bepu / bepuphysics2

Pure C# 3D real time physics simulation library, now with a higher version number.
Apache License 2.0
2.25k stars 261 forks source link

GL: Use compile/link status for errors #333

Open CallumDev opened 3 weeks ago

CallumDev commented 3 weeks ago

Fixes demo crashing when the shader compiler reports warnings in the info log.

Example of previous error on Linux:

Unhandled exception. System.Exception: 0:49(38): warning: `_189' used uninitialized
0:49(51): warning: `_192' used uninitialized
0:49(64): warning: `_194' used uninitialized
RossNordby commented 2 weeks ago

(quickly stopping in to note that I've seen this and thanks! I continue to be unusually swamped and excessively travel prone, but I'm hoping next week is less dumb.)