[host] xcb: remove undefined getPointer member from Capture_XCB

This commit is contained in:
Quantum 2021-01-14 05:02:48 -05:00 committed by Geoffrey McRae
parent ed9e3d253b
commit dd2d69fa37

View File

@ -232,12 +232,6 @@ static CaptureResult xcb_getFrame(FrameBuffer * frame)
return CAPTURE_RESULT_OK; return CAPTURE_RESULT_OK;
} }
static CaptureResult xcb_getPointer(CapturePointer * pointer)
{
memset(pointer, 0, sizeof(CapturePointer));
return CAPTURE_RESULT_OK;
}
struct CaptureInterface Capture_XCB = struct CaptureInterface Capture_XCB =
{ {
.getName = xcb_getName, .getName = xcb_getName,
@ -249,6 +243,5 @@ struct CaptureInterface Capture_XCB =
.getMouseScale = xcb_getMouseScale, .getMouseScale = xcb_getMouseScale,
.capture = xcb_capture, .capture = xcb_capture,
.waitFrame = xcb_waitFrame, .waitFrame = xcb_waitFrame,
.getFrame = xcb_getFrame, .getFrame = xcb_getFrame
.getPointer = xcb_getPointer
}; };