diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-01-30 14:32:42 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-02-01 20:52:02 +0000 |
commit | d4c76a683f684541d3c110d0f496493bcea28ded (patch) | |
tree | 9e44b51b006bdf1c21e6f39d8557246d32ab35ef /examples/vulkan/hellovulkantexture/hellovulkantexture.h | |
parent | 379649dd8bb7b0d68dbf81b215be50a7dcc3f49a (diff) |
Examples: Add missing include guards
Task-number: QTBUG-109394
Change-Id: I09a1b522d0faeb2346e1e075141f1e810c8155f7
Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
(cherry picked from commit ddb94dd7927126978fc2a620ebd91954e2f96862)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/vulkan/hellovulkantexture/hellovulkantexture.h')
-rw-r--r-- | examples/vulkan/hellovulkantexture/hellovulkantexture.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/vulkan/hellovulkantexture/hellovulkantexture.h b/examples/vulkan/hellovulkantexture/hellovulkantexture.h index 893d953b6c..251bdfb2e2 100644 --- a/examples/vulkan/hellovulkantexture/hellovulkantexture.h +++ b/examples/vulkan/hellovulkantexture/hellovulkantexture.h @@ -1,6 +1,9 @@ // Copyright (C) 2017 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause +#ifndef HELLOVULKANTEXTURE_H +#define HELLOVULKANTEXTURE_H + #include <QVulkanWindow> #include <QImage> @@ -59,3 +62,5 @@ class VulkanWindow : public QVulkanWindow public: QVulkanWindowRenderer *createRenderer() override; }; + +#endif // HELLOVULKANTEXTURE_H |