removed incompatible code

This code was test code used to test something in monogame. it's not
necessary.