main: allow NEAREST_MIPMAP_NEAREST for stencil texturing
authorRoland Scheidegger <sroland@vmware.com>
Mon, 5 Dec 2016 12:39:16 +0000 (13:39 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Tue, 6 Dec 2016 03:10:43 +0000 (04:10 +0100)
commitcd9bb4b9182eb03de576fc20cf407ef05d3e6a6f
tree3a2b6265f8295d958b738094d9dde72393151df3
parentdf33f11b39abf313a0db7b9fefaf739b88133161
main: allow NEAREST_MIPMAP_NEAREST for stencil texturing

As per GL 4.5 rules, which fixed a spec mistake in GL_ARB_stencil_texturing.
The extension spec wasn't updated, but just allow it with older GL versions
as well, hoping there aren't any crazy tests which want to see an error
there... (Compile tested only.)

Reported by Józef Kucia <joseph.kucia@gmail.com>

Acked-by: Józef Kucia <joseph.kucia@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/texobj.h