Skip to content

Commit

Permalink
Fix compile warning
Browse files Browse the repository at this point in the history
  • Loading branch information
slime73 committed Dec 23, 2023
1 parent 0be5a21 commit eb552df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/graphics/Buffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ Buffer::Buffer(Graphics *gfx, const Settings &settings, const std::vector<DataDe
, size(size)
, usageFlags(settings.usageFlags)
, dataUsage(settings.dataUsage)
, debugName(settings.debugName)
, mapped(false)
, mappedType(MAP_WRITE_INVALIDATE)
, immutable(false)
, debugName(settings.debugName)
{
if (size == 0 && arraylength == 0)
throw love::Exception("Size or array length must be specified.");
Expand Down

0 comments on commit eb552df

Please sign in to comment.