Replace ifdef guards with pragma once

This commit is contained in:
2022-07-07 23:09:30 -07:00
parent c7f9277780
commit 44055d1e6a
45 changed files with 55 additions and 198 deletions

View File

@@ -29,12 +29,11 @@
// or implied, of Kearwood Gilbert.
//
#pragma once
#include "KREngine-common.h"
#include "KRContext.h"
#ifndef KRSURFACE_H
#define KRSURFACE_H
class KRDevice;
class KRRenderPass;
class KRSwapchain;
@@ -87,5 +86,3 @@ private:
void destroySwapChain();
KrResult createSwapChain();
};
#endif // KRSURFACE_H