Page MenuHome

Add a print function of glGetError()

Authored by Kinouti Takahiro (dskjal) on May 19 2018, 9:46 AM.



This function is used to detect a function that error occured but not crush.

Diff Detail

rB Blender
Build Status
Buildable 1640
Build 1640: arc lint + arc unit

Event Timeline

Kinouti Takahiro (dskjal) retitled this revision from Add a print function of glGetError(). to Add a print function of glGetError().May 19 2018, 9:55 AM
Kinouti Takahiro (dskjal) edited the summary of this revision. (Show Details)

We have already the --debug-gpu option which (even if it only works on ogl > 4.3 contexts) does somewhat the same.

The patch is really old so I'll just abandon it. If you think it would be a nice addition, update it with new codestyle & in codebase usage.