private void InitScreenGrabber(LdpScreenGrabberType type) { switch (type) { case LdpScreenGrabberType.DIRECTX_11: screenGrabber = new LdpDirectx11Grabber(); //screenGrabber = new LdpDirectx9Grabber(); break; case LdpScreenGrabberType.DIRECTX_9: screenGrabber = new LdpDirectx9Grabber(); break; } }
private void InitScreenGrabber(LdpScreenGrabberType type) { switch (type) { case LdpScreenGrabberType.DIRECTX_11: screenGrabber = new LdpDirectx11Grabber(); //screenGrabber = new LdpDirectx9Grabber(); break; case LdpScreenGrabberType.DIRECTX_9: screenGrabber = new LdpDirectx9Grabber(); break; } }