diff options
author | Iago Toral Quiroga <[email protected]> | 2014-03-31 02:04:00 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-04-01 08:37:06 -0600 |
commit | f5904b732efd6ad1ec8273ce3c72dbf38df7076c (patch) | |
tree | bb4b9380ddf04638ac970f931b845d6867278fdf /src/mapi/glapi | |
parent | c13ff5a7632232b3e40782984c3d9b1f822609eb (diff) |
mesa: Allow setting GL_TEXTURE_MAX_LEVEL to 0 with GL_TEXTURE_RECTANGLE.
Currently, we raise an error when doing this which breaks a conformance
test from the OpenGL samples pack. Even if this is a bit silly it is not
an error.
From http://www.opengl.org/wiki/Rectangle_Texture:
"Rectangle textures contain exactly one image; they cannot have mipmaps.
Therefore, any texture parameters that depend on LODs are irrelevant
when used with rectangle textures; attempting to set these parameters to
any value other than 0 will result in an error."
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76496
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mapi/glapi')
0 files changed, 0 insertions, 0 deletions