Style: Replace header guards with #pragma once
This commit is contained in:
@@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef D3D12_GODOT_NIR_BRIDGE_H
|
||||
#define D3D12_GODOT_NIR_BRIDGE_H
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -56,5 +55,3 @@ typedef struct GodotNirCallbacks {
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // D3D12_GODOT_NIR_BRIDGE_H
|
||||
|
||||
@@ -28,12 +28,9 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef DXIL_HASH_H
|
||||
#define DXIL_HASH_H
|
||||
#pragma once
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
|
||||
void compute_dxil_hash(const BYTE *pData, UINT byteCount, BYTE *pOutHash);
|
||||
|
||||
#endif // DXIL_HASH_H
|
||||
|
||||
@@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef RENDERING_CONTEXT_DRIVER_D3D12_H
|
||||
#define RENDERING_CONTEXT_DRIVER_D3D12_H
|
||||
#pragma once
|
||||
|
||||
#include "core/error/error_list.h"
|
||||
#include "core/os/mutex.h"
|
||||
@@ -146,5 +145,3 @@ public:
|
||||
RenderingContextDriverD3D12();
|
||||
virtual ~RenderingContextDriverD3D12() override;
|
||||
};
|
||||
|
||||
#endif // RENDERING_CONTEXT_DRIVER_D3D12_H
|
||||
|
||||
@@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef RENDERING_DEVICE_DRIVER_D3D12_H
|
||||
#define RENDERING_DEVICE_DRIVER_D3D12_H
|
||||
#pragma once
|
||||
|
||||
#include "core/templates/hash_map.h"
|
||||
#include "core/templates/paged_allocator.h"
|
||||
@@ -1036,5 +1035,3 @@ public:
|
||||
RenderingDeviceDriverD3D12(RenderingContextDriverD3D12 *p_context_driver);
|
||||
virtual ~RenderingDeviceDriverD3D12();
|
||||
};
|
||||
|
||||
#endif // RENDERING_DEVICE_DRIVER_D3D12_H
|
||||
|
||||
Reference in New Issue
Block a user