Change texture creation to use nearest filtering. Fixes several reftests

due to the different texture sizes that are created now with the removal
of the quadtree code.
Updated to extract from matrix.