mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-11-17 06:06:00 +01:00
buffer: add a NONE flag to eBufferCapability (#11)
ensure we dont cast out of range in caps(), return (Aquamarine::eBufferCapability)0; in GBM.cpp
This commit is contained in:
parent
1ae9ead82c
commit
c3bfe3de89
1 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@
|
||||||
|
|
||||||
namespace Aquamarine {
|
namespace Aquamarine {
|
||||||
enum eBufferCapability : uint32_t {
|
enum eBufferCapability : uint32_t {
|
||||||
|
BUFFER_CAPABILITY_NONE = 0,
|
||||||
BUFFER_CAPABILITY_DATAPTR = (1 << 0),
|
BUFFER_CAPABILITY_DATAPTR = (1 << 0),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue