oizma / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

Missing break; statements in Context::getBooleanv break state querying #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
src/libGLESv2/Context.cpp line 1139 to 1147:

These case: statements are missing their matching break;'s, making it so that 
all attempts to query those values always return the value of GL_DITHER!

This manifests itself most easily when trying to use glGetParameter() to query 
the values of GL_CULL_FACE, GL_DEPTH_TEST, GL_BLEND, etc.

Original issue reported on code.google.com by ben.vanik on 27 Oct 2010 at 1:39

GoogleCodeExporter commented 9 years ago
nice catch. Will fix asap.

Original comment by dan...@transgaming.com on 27 Oct 2010 at 2:29

GoogleCodeExporter commented 9 years ago
fixed in r467

Original comment by dan...@transgaming.com on 27 Oct 2010 at 3:53

GoogleCodeExporter commented 9 years ago

Original comment by dan...@transgaming.com on 27 Oct 2010 at 4:06

GoogleCodeExporter commented 9 years ago
fixed in r467

Original comment by dan...@transgaming.com on 27 Oct 2010 at 4:06