cxx: Use pragma once consistently for non-api headers
This commit is contained in:
parent
fc90b60663
commit
b232cb2bee
3 changed files with 3 additions and 11 deletions
|
|
@ -19,9 +19,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef VKICD_H
|
|
||||||
#define VKICD_H
|
|
||||||
|
|
||||||
#include "vulkan.h"
|
#include "vulkan.h"
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
@ -258,5 +256,3 @@ typedef struct {
|
||||||
VkIcdSurfaceBase base;
|
VkIcdSurfaceBase base;
|
||||||
} VkIcdSurfaceImagePipe;
|
} VkIcdSurfaceImagePipe;
|
||||||
#endif // VK_USE_PLATFORM_FUCHSIA
|
#endif // VK_USE_PLATFORM_FUCHSIA
|
||||||
|
|
||||||
#endif // VKICD_H
|
|
||||||
|
|
|
||||||
|
|
@ -19,12 +19,12 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
|
|
||||||
/* Need to define dispatch table
|
/* Need to define dispatch table
|
||||||
* Core struct can then have ptr to dispatch table at the top
|
* Core struct can then have ptr to dispatch table at the top
|
||||||
* Along with object ptrs for current and next OBJ
|
* Along with object ptrs for current and next OBJ
|
||||||
*/
|
*/
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "vulkan_core.h"
|
#include "vulkan_core.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,9 +18,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef VK_SDK_PLATFORM_H
|
|
||||||
#define VK_SDK_PLATFORM_H
|
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
#ifndef NOMINMAX
|
#ifndef NOMINMAX
|
||||||
|
|
@ -67,5 +65,3 @@
|
||||||
#define NOEXCEPT
|
#define NOEXCEPT
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // VK_SDK_PLATFORM_H
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue