gryphn texture API

This commit is contained in:
Gregory Wells
2025-06-14 21:29:21 -04:00
parent bc64fc0731
commit 8bc0f4afbc
7 changed files with 19 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ gnReturnCode gnCreateFramebufferFn(struct gnFramebuffer_t* framebuffer, struct g
VkImageView* attachments = malloc(sizeof(VkImageView) * info.attachmentCount);
for (int i = 0; i < info.attachmentCount; i++)
attachments[i] = info.attachments[i]->texture->imageView;
attachments[i] = info.attachments[i]->texture->image.imageView;
VkFramebufferCreateInfo framebufferInfo = {
.sType = VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO,