internal: remove dead code (#8748)
This commit is contained in:
parent
bd7092a9fe
commit
e2c78c00e5
19 changed files with 2 additions and 127 deletions
|
|
@ -71,10 +71,6 @@ bool CDMABuffer::good() {
|
|||
return success;
|
||||
}
|
||||
|
||||
void CDMABuffer::updateTexture() {
|
||||
;
|
||||
}
|
||||
|
||||
void CDMABuffer::closeFDs() {
|
||||
for (int i = 0; i < attrs.planes; ++i) {
|
||||
if (attrs.fds[i] == -1)
|
||||
|
|
@ -83,4 +79,4 @@ void CDMABuffer::closeFDs() {
|
|||
attrs.fds[i] = -1;
|
||||
}
|
||||
attrs.planes = 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ class CDMABuffer : public IHLBuffer {
|
|||
virtual std::tuple<uint8_t*, uint32_t, size_t> beginDataPtr(uint32_t flags);
|
||||
virtual void endDataPtr();
|
||||
bool good();
|
||||
void updateTexture();
|
||||
void closeFDs();
|
||||
|
||||
bool success = false;
|
||||
|
|
@ -26,4 +25,4 @@ class CDMABuffer : public IHLBuffer {
|
|||
struct {
|
||||
CHyprSignalListener resourceDestroy;
|
||||
} listeners;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue