Let direct texture code correctly detect the extension with newer drivers

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>