Rico Schüller : d3dx9: Use size of variable instead of type.