[teeworlds] Re: no openGL leads to SEGV

  • From: Alain TAUCH <contrib@xxxxxxxxxxxxxxxxxxx>
  • To: teeworlds@xxxxxxxxxxxxx
  • Date: Fri, 16 Jan 2009 11:00:16 +0100

On Fri, 16 Jan 2009 00:20:19 +0100
Magnus Auvinen [Magnus] wrote:

Magnus> Thanks,
Magnus> 
Magnus> I've cleaned it up a bit and made gfx_init return 0 on success,
Magnus> otherwise an error code. Going to commit it when I get time to do it.

I've no problem with that, just remember that if you return 0 on success you
will still need to change the return status check since current one expects 0
on error.

-- 
Alain TAUCH

Other related posts: