Skip to content

Commit

Permalink
buffer: add a NONE flag to eBufferCapability
Browse files Browse the repository at this point in the history
ensure we dont cast out of range in caps(),
return (Aquamarine::eBufferCapability)0; in GBM.cpp
  • Loading branch information
gulafaran committed Jul 11, 2024
1 parent 965f429 commit 68b27c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/aquamarine/buffer/Buffer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

namespace Aquamarine {
enum eBufferCapability : uint32_t {
BUFFER_CAPABILITY_NONE = 0,
BUFFER_CAPABILITY_DATAPTR = (1 << 0),
};

Expand Down

0 comments on commit 68b27c9

Please sign in to comment.