diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2022-07-14 06:17:32 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2022-07-14 06:17:32 +0200 |
| commit | 7682cf917a05784c132b1faca2611986c6a01e04 (patch) | |
| tree | 7755756d16ba24cb0d3af994834312942f75fe54 /src/vkvg_surface_internal.h | |
| parent | fae189723237dd5fa3b87bbe421f63a8e7f66ca7 (diff) | |
vkvg_surface_resizeresizeSurf
Diffstat (limited to 'src/vkvg_surface_internal.h')
| -rw-r--r-- | src/vkvg_surface_internal.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vkvg_surface_internal.h b/src/vkvg_surface_internal.h index 5cc47c6..f89573f 100644 --- a/src/vkvg_surface_internal.h +++ b/src/vkvg_surface_internal.h @@ -30,8 +30,10 @@ typedef struct _vkvg_surface_t { vkvg_status_t status; /**< Current status of surface, affected by last operation */ uint32_t references; VkvgDevice dev; - uint32_t width; - uint32_t height; + uint32_t width; /**< surface width, underlying vulkan image may be larger */ + uint32_t height; /**< surface height, underlying vulkan image may be larger */ + uint32_t imgWidth; /**< physical surface image width */ + uint32_t imgHeight; /**< physical surface image height */ VkFormat format; VkFramebuffer fb; VkhImage img; |