From: Paul W. <pa...@bo...> - 2010-06-20 05:21:11
|
On Sat, 2010-06-19 at 19:54 +0200, Bertrand Coconnier wrote: > Your fix therefore makes sense but the call to glcGetError occurs a > bit too late IMHO. I suggest to handle the error as soon as it occurs > as the small patch attached suggests. Excellent, thanks for that. I'm wondering if the ids from glcGenFontID need to be deallocated somehow and the variables set to 0 when the call to glcNewFontFromFamily fails, any thoughts? Or should I leave it to the deconstructor to call glcDeleteFont on them and set them to 0 then? -- bye, pabs http://bonedaddy.net/pabs3/ |