The return value of OpenStream() wasn't checked. As a result, the core 3DEngine would successfully initialize even though GL support was missing, but then segfault in the run loop.
How has this been tested?
After this change, the 3DEngine core exits with an error message instead of segfaulting.
Description
The return value of OpenStream() wasn't checked. As a result, the core 3DEngine would successfully initialize even though GL support was missing, but then segfault in the run loop.
How has this been tested?
After this change, the 3DEngine core exits with an error message instead of segfaulting.