mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Update X11Grabber.cpp
Former-commit-id: ab34a0615e2233322bc2260f297130e30857ac24
This commit is contained in:
parent
bfa4185b9a
commit
93f2b8b65f
@ -77,6 +77,8 @@ bool X11Grabber::Setup()
|
||||
|
||||
Image<ColorRgb> & X11Grabber::grab()
|
||||
{
|
||||
updateScreenDimensions();
|
||||
|
||||
XShmGetImage(_x11Display, _window, _xImage, _cropLeft, _cropTop, 0x00FFFFFF);
|
||||
if (_xImage == nullptr)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user