diff options
author | Marta Lofstedt <[email protected]> | 2015-08-24 13:01:53 +0200 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2015-09-01 08:24:37 +0300 |
commit | f8a938814e8cdbf65153c277f257df8e22fae9c5 (patch) | |
tree | dc6f2bef7c99884573914b06a4df26b823b47789 /src/gallium/drivers/r600/r600_state.c | |
parent | d770e2746c0b63e47dfd4ab1733ab304dd7222da (diff) |
mesa: Limit Framebuffer Parameter OpenGL ES 3.1 usage
According to OpenGL ES 3.1 specification, section 9.2.1 for
glFramebufferParameter and section 9.2.3 for glGetFramebufferParameteriv:
"An INVALID_ENUM error is generated if pname is not FRAMEBUFFER_DEFAULT_WIDTH,
FRAMEBUFFER_DEFAULT_HEIGHT, FRAMEBUFFER_DEFAULT_SAMPLES, or
FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS."
Therefore exclude OpenGL ES 3.1 from using the GL_FRAMEBUFFER_DEFAULT_LAYERS
parameter.
Signed-off-by: Marta Lofstedt <[email protected]>
Reviewed-by: Kevin Rogovin <kevin.rogovin at intel.com>
Diffstat (limited to 'src/gallium/drivers/r600/r600_state.c')
0 files changed, 0 insertions, 0 deletions