You never instantiate it. You never set it equal to an instance of GraphicsDevice. When you use that variable, what Object do you expect it to be using?
Type: Posts; User: KevinWorkman
You never instantiate it. You never set it equal to an instance of GraphicsDevice. When you use that variable, what Object do you expect it to be using?
private GraphicsDevice gd;
When do you set that? You seem to be using it in other methods, but I don't see you set it anywhere.
In your screen class, when do you set the class gd variable?