Zebediah Figura : d3d8: Retrieve texture states from the primary stateblock.