mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-25 12:20:17 +01:00
Revert "mesa: limit number of error raised by invalid GL_TEXTURE_MAX_ANISOTROPY_EXT"
This reverts commit 74bec42b45.
This is not conformant behavior, and if we *really* want to do this, it
should be guarded behind a DRIconf or something instead.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35099>
This commit is contained in:
parent
48f0d738de
commit
02457ee29e
1 changed files with 2 additions and 5 deletions
|
|
@ -852,11 +852,8 @@ set_tex_parameterf(struct gl_context *ctx,
|
|||
0 : texObj->Sampler.Attrib.MaxAnisotropy; /* gallium sets 0 for 1 */
|
||||
return GL_TRUE;
|
||||
}
|
||||
else {
|
||||
static GLuint count = 0;
|
||||
if (count++ < 10)
|
||||
goto invalid_pname;
|
||||
}
|
||||
else
|
||||
goto invalid_pname;
|
||||
return GL_FALSE;
|
||||
|
||||
case GL_TEXTURE_LOD_BIAS:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue