Skip to content

Commit

Permalink
Merge pull request #14 from 1k23lkasdasd/master
Browse files Browse the repository at this point in the history
Update vulkan.nim
  • Loading branch information
gmpreussner committed Oct 21, 2023
2 parents 83beb71 + 09e02a0 commit 1c5cc50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vulkan.nim
Original file line number Diff line number Diff line change
Expand Up @@ -2125,7 +2125,7 @@ type
imageOffset*: VkOffset3D
imageExtent*: VkExtent3D

VkClearColorValue* = object {.union.}
VkClearColorValue* {.union.} = object
float32*: array[4, cfloat]
int32*: array[4, int32]
uint32*: array[4, uint32]
Expand All @@ -2134,7 +2134,7 @@ type
depth*: cfloat
stencil*: uint32

VkClearValue* = object {.union.}
VkClearValue* {.union.} = object
color*: VkClearColorValue
depthStencil*: VkClearDepthStencilValue

Expand Down

0 comments on commit 1c5cc50

Please sign in to comment.