Fix for "mesa: Fix texture target validation for glFramebufferTexture()"