diff options
| author | Peter Lohrmann <peterl@valvesoftware.com> | 2015-03-10 15:30:36 -0700 |
|---|---|---|
| committer | Peter Lohrmann <peterl@valvesoftware.com> | 2015-03-10 15:36:41 -0700 |
| commit | ba9355ebb62d22e5276dd8181062c28a8488f10c (patch) | |
| tree | 6362259e2f67f6613099eb15e2f6e9a3af842c45 /docs/Explicit GL Programming Guide and API Reference.pdf | |
| parent | 9b8ccd9b49eb994992bec739a0dd3c1a0f512936 (diff) | |
| download | usermoji-ba9355ebb62d22e5276dd8181062c28a8488f10c.tar.xz | |
glave-generate: Replace asserts with proper error detection and error logging.
* On Linux debug builds, the asserts cause the debugger to abort, but the code wasn't handling the error case safely anyway, so even a release build would likely crash.
* These situations were being hit if trying to load a trace file from an earlier header version, but are likely to be conditions we'll see when new developers start to use the API.
* With these changes, the error is properly reported and error return values propogated so that the UI detects the invalid file and reports an error to the user.
* The new glv_LogError(..) messages get printed to the console, but are not yet passed to the UI. This will be done as part of a larger change sometime in the future.
Diffstat (limited to 'docs/Explicit GL Programming Guide and API Reference.pdf')
0 files changed, 0 insertions, 0 deletions
