[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] getContext error handling



On Sat, Apr 9, 2011 at 19:33, Glenn Maynard <glenn@zewt.org> wrote:
> FYI, I still think getContext should throw an error if an error happens.
> Using a message like this is unusual. There's no provision in the HTML
> getContext spec for this, though. I'll go ask on whatwg.
>

IIRC another reason we used an event is to allow the application to be
notified when context restoration failed (see webglcontextlost event).


Regards,

-----------------------------------------------------------
You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email:
unsubscribe public_webgl
-----------------------------------------------------------