Zebediah Figura : d3d9: Retrieve textures from the primary stateblock.