Skip to content

Commit 7e48dd7

Browse files
committed
fix: missing gfx ext calls
1 parent 8d75efe commit 7e48dd7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

extensions/pl_graphics_ext.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -898,13 +898,15 @@ pl_load_graphics_ext(plApiRegistryI* ptApiRegistry, bool bReload)
898898
.queue_compute_shader_for_deletion = pl_queue_compute_shader_for_deletion,
899899
.queue_render_pass_for_deletion = pl_queue_render_pass_for_deletion,
900900
.queue_render_pass_layout_for_deletion = pl_queue_render_pass_layout_for_deletion,
901+
.queue_sampler_for_deletion = pl_queue_sampler_for_deletion,
901902
.destroy_bind_group = pl_destroy_bind_group,
902903
.destroy_buffer = pl_destroy_buffer,
903904
.destroy_texture = pl_destroy_texture,
904905
.destroy_shader = pl_destroy_shader,
905906
.destroy_compute_shader = pl_destroy_compute_shader,
906907
.destroy_render_pass = pl_destroy_render_pass,
907908
.destroy_render_pass_layout = pl_destroy_render_pass_layout,
909+
.destroy_sampler = pl_destroy_sampler,
908910
.update_render_pass_attachments = pl_update_render_pass_attachments,
909911
.get_buffer = pl__get_buffer,
910912
.get_texture = pl__get_texture,

extensions/pl_graphics_ext.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ typedef struct _plGraphicsI
400400
void (*set_texture_usage) (plBlitEncoder*, plTextureHandle, plTextureUsage tNewUsage, plTextureUsage tOldUsage);
401401
void (*copy_buffer_to_texture) (plBlitEncoder*, plBufferHandle, plTextureHandle, uint32_t regionCount, const plBufferImageCopy*);
402402
void (*copy_texture_to_buffer) (plBlitEncoder*, plTextureHandle, plBufferHandle, uint32_t regionCount, const plBufferImageCopy*);
403-
void (*copy_texture) (plBlitEncoder*, plTextureHandle, plTextureHandle, uint32_t regionCount, const plImageCopy*);
403+
void (*copy_texture) (plBlitEncoder*, plTextureHandle src, plTextureHandle dst, uint32_t regionCount, const plImageCopy*);
404404
void (*generate_mipmaps) (plBlitEncoder*, plTextureHandle);
405405
void (*copy_buffer) (plBlitEncoder*, plBufferHandle source, plBufferHandle destination, uint32_t sourceOffset, uint32_t destinationOffset, size_t);
406406
plCommandBuffer* (*get_blit_encoder_command_buffer)(plBlitEncoder*);

0 commit comments

Comments
 (0)