diff options
| author | Andre Weissflog <floooh@gmail.com> | 2025-11-02 18:41:13 +0100 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2025-11-02 18:41:13 +0100 |
| commit | 6aa5ec162da9676c3a34fee9d9f4ceac5a6731e9 (patch) | |
| tree | 98b70aea0335bd21260bc64174159506d0f50303 /sokol_app.h | |
| parent | 584762c3762ef7aa413a771e2904bfd4cfd290cd (diff) | |
sokol_app.h vk: enable samplerAnisotropy feature
Diffstat (limited to 'sokol_app.h')
| -rw-r--r-- | sokol_app.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sokol_app.h b/sokol_app.h index bac693ea..9f32e122 100644 --- a/sokol_app.h +++ b/sokol_app.h @@ -4490,6 +4490,7 @@ _SOKOL_PRIVATE void _sapp_vk_create_device(void) { _sapp_clear(&features2, sizeof(features2)); features2.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2; features2.pNext = &vk13_features; + features2.features.samplerAnisotropy = VK_TRUE; VkDeviceCreateInfo dev_create_info; _sapp_clear(&dev_create_info, sizeof(dev_create_info)); |