On 19/06/06, Stefan Dösinger stefan@codeweavers.com wrote:
Yes, the the examples you listed are wrong, most likely due to bad copy + paste. It should be corrected.
There are some cases when a gl call is not followed by a checkGLcall, for example in the code I just sent with my vbo patch. This is the case when wined3d can handle the error somehow and fall back to an alternate code path.
Also, keep in mind that checkGLcall actually checks all GL calls since the previous checkGLcall. There are probably enough places where just putting the checkGLcall at the end of a block of code is sufficient.