mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-03-29 22:20:24 +00:00
Fix grabbing code when DRM is enabled and X11 is disabled (#1956)
This commit is contained in:
parent
d97f724e3b
commit
64be0aa67a
@ -51,9 +51,6 @@ namespace platf::x11 {
|
||||
xdisplay_t
|
||||
make_display();
|
||||
#else
|
||||
// It's never something different from nullptr
|
||||
util::safe_ptr<_XDisplay, std::default_delete<_XDisplay>>;
|
||||
|
||||
class cursor_t {
|
||||
public:
|
||||
static std::optional<cursor_t>
|
||||
@ -65,7 +62,7 @@ namespace platf::x11 {
|
||||
blend(img_t &, int, int) {}
|
||||
};
|
||||
|
||||
xdisplay_t
|
||||
void *
|
||||
make_display() { return nullptr; }
|
||||
#endif
|
||||
} // namespace platf::x11
|
||||
|
Loading…
x
Reference in New Issue
Block a user