[Public WebGL] oes-texture-float conformance

Benoit Jacob [email protected]
Tue May 10 11:20:56 PDT 2011


----- Original Message -----
> function renderFrame(gl) {
> var ext0 = gl.getExtension('foo');
> var ext1 = gl.getExtension('foo');
> assert(ext0 == ext1);
> };
> Having ext0 != ext1 would be odd. Again, 'get' means get, and no one
> should have to know that 'getExtension' really means
> 'createExtension'.

Noone is arguing against that, the test is rather:

function renderFrame(gl) {
  var ext0 = gl.getExtension('foo');
  ext0.someNewProperty = 'bar';
  var ext1 = gl.getExtension('foo');
  assert(ext0 == ext1);
};

Benoit
-----------------------------------------------------------
You are currently subscribed to [email protected]
To unsubscribe, send an email to [email protected] with
the following command in the body of your email:
unsubscribe public_webgl
-----------------------------------------------------------




More information about the public_webgl mailing list