private void PlatformGraphicsDeviceResetting()
 {
     glTexture          = -1;
     glLastSamplerState = null;
 }