Replace ifdef guards with pragma once
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user