Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Duttenheim committed Nov 22, 2024
1 parent a7c0130 commit a1735d9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions code/render/coregraphics/commandbuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,21 @@ ID_24_8_TYPE(CmdBufferPoolId);

struct CmdBufferPoolCreateInfo
{
#if NEBULA_GRAPHICS_DEBUG
const char* name;
#endif
CoreGraphics::QueueType queue;
bool resetable : 1; // Allow buffers created from this pool to be resetable
bool shortlived : 1; // Hint if the buffers allocated from this pool will be short lived

CmdBufferPoolCreateInfo()
: queue(CoreGraphics::InvalidQueueType)
, resetable(false)
, shortlived(false)
#if NEBULA_GRAPHICS_DEBUG
, name(nullptr)
#endif
{};
};

/// create new command buffer pool
Expand Down

0 comments on commit a1735d9

Please sign in to comment.