diff options
| author | FslNopper <Norbert.Nopper@freescale.com> | 2015-05-06 21:42:01 +0200 |
|---|---|---|
| committer | FslNopper <Norbert.Nopper@freescale.com> | 2015-05-06 21:42:01 +0200 |
| commit | 6a7e50e5ce5ac3e98954955324867572e7b33520 (patch) | |
| tree | 203daf9ada1637109e0b546ae3489c5727600b4b | |
| parent | 358a2b56554af7d24eb1356db019f7c29de20309 (diff) | |
| download | usermoji-6a7e50e5ce5ac3e98954955324867572e7b33520.tar.xz | |
Removed warning in cube demo.
| -rw-r--r-- | demos/cube.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/cube.c b/demos/cube.c index e9ea5923..d879800e 100644 --- a/demos/cube.c +++ b/demos/cube.c @@ -1015,7 +1015,7 @@ static void demo_prepare_textures(struct demo *demo) for (i = 0; i < DEMO_TEXTURE_COUNT; i++) { - if (props.linearTilingFeatures & VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT && !demo->use_staging_buffer) { + if ((props.linearTilingFeatures & VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT) && !demo->use_staging_buffer) { /* Device can texture using linear textures */ demo_prepare_texture_image(demo, tex_files[i], &demo->textures[i], VK_IMAGE_TILING_LINEAR, VK_IMAGE_USAGE_SAMPLED_BIT, VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT); |
