Re: [4/4] WineD3D: Don't call glGetError if nobody is going to see our fixme
14 Jul
2009
14 Jul
'09
10:42 p.m.
It may still be important to do this, if glGetError is ever used directly to check for errors. Errors that are normally caught by checkGLError would then be left for a later call to glGetError to pick up.
14 Jul
14 Jul
11:30 p.m.
New subject: [4/4] WineD3D: Don't call glGetError if nobody is going to see our fixme
Am Tuesday 14 July 2009 23:42:25 schrieb Chris Robinson:
It may still be important to do this, if glGetError is ever used directly to check for errors. Errors that are normally caught by checkGLError would then be left for a later call to glGetError to pick up. Whenever we're using glGetError for making a decision, e.g. in VBO creation, we're clearing the errors with while(glGetError()); before calling the function we want to check for failures. If any code in wined3d depends on a checkGLcall that code is broken
6085
Age (days ago)
6085
Last active (days ago)
1 comments
2 participants
participants (2)
-
Chris Robinson -
Stefan Dösinger