[vulkan] Fix a pure warning

Need to do more testing with optimized builds, but...
This commit is contained in:
Bill Currie 2021-01-22 02:13:58 +09:00
parent 2acdaa0252
commit f96d7109af

View file

@ -10,7 +10,7 @@ struct qfv_device_s;
scrap_t *QFV_CreateScrap (struct qfv_device_s *device, int size, scrap_t *QFV_CreateScrap (struct qfv_device_s *device, int size,
QFFormat format, struct qfv_stagebuf_s *stage); QFFormat format, struct qfv_stagebuf_s *stage);
size_t QFV_ScrapSize (scrap_t *scrap); size_t QFV_ScrapSize (scrap_t *scrap) __attribute__((pure));
void QFV_ScrapClear (scrap_t *scrap); void QFV_ScrapClear (scrap_t *scrap);
void QFV_DestroyScrap (scrap_t *scrap); void QFV_DestroyScrap (scrap_t *scrap);
VkImageView QFV_ScrapImageView (scrap_t *scrap) __attribute__((pure)); VkImageView QFV_ScrapImageView (scrap_t *scrap) __attribute__((pure));