private void deviceReset()
{
if (!video.Caps.ExDevice && (LostDevice_pool != REIGN_D3DPOOL.MANAGED || LostDevice_isRenderTarget)) init(Parent, LostDevice_image, LostDevice_width, LostDevice_height, LostDevice_generateMipmaps, LostDevice_multiSampleType, LostDevice_surfaceFormat, LostDevice_renderTargetUsage, LostDevice_usage, LostDevice_isRenderTarget, LostDevice_lockable, null);
}