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

Re: [Public WebGL] Chrome reports GL_INVALID_ENUM with glGetTexParameteriv

Thank you. It's best to file browser bugs with their respective teams. I filed a bug for you. You can add yourself to the bug if you'd like to follow the progress.


On Tue, Jul 10, 2012 at 8:40 AM, Marco Di Benedetto <marco.dibenedetto@isti.cnr.it> wrote:

(apologies for possible multiple copies)


Chrome console reports "GL_INVALID_ENUM : glGetTexParameteriv: target
GL_INVALID_ENUM" with the following calls (both with ANGLE and desktop

// a valid cube map texture is currently bound
gl.getTexParameter(gl.TEXTURE_CUBE_MAP, gl.TEXTURE_WRAP_S);
gl.getTexParameter(gl.TEXTURE_CUBE_MAP, gl.TEXTURE_WRAP_T);
// all of them return zero

it works correctly with TEXTURE_2D.


Marco Di Benedetto, Ph.D.

Researcher at the Visual Computing Lab
Istituto di Scienza e Technologie dell'Informazione "A. Faedo" (ISTI)
Consiglio Nazionale delle Ricerche (CNR) - Pisa - Italy
Office Phone: +39 050 315 2921
E-Mail: marco.dibenedetto@isti.cnr.it - spattija@gmail.com

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