Advertisement
Guest User

Untitled

a guest
Dec 8th, 2011
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. 4. If getContext() was invoked with a second argument, let options be that argument. Otherwise, let options be an empty dictionary.
  2. 5. Convert options to an IDL value of type WebGLContextAttributesInit. If the conversion threw an uncaught exception, then abort this algorithm, with that exception being passed through to the caller.
  3. 6. For each dictionary member defined in options, find the attribute on contextAttributes whose identifier matches the key of the dictionary member, and then set the attribute to the value of that dictionary member.
  4.  
  5.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement