diff options
author | Elliott Hughes <enh@google.com> | 2020-03-23 13:29:04 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2020-03-23 13:29:04 -0700 |
commit | 715f20250aaf565de693c3a77f40e54031be11e5 (patch) | |
tree | 729e104ff6831343caf7e1afd8014232b35b8c26 /sources/android/ndk_helper/GLContext.h | |
parent | 5aec38c42f1e6da17437c72066e4a59beb5a265f (diff) | |
download | ndk-715f20250aaf565de693c3a77f40e54031be11e5.tar.gz |
Switch the NDK source/ headers to #pragma once.
Because we look silly when our demo of IntelliSense in Visual Studio is
only offering completions that are header file include guard spam.
Bug: https://youtu.be/JXQBdMNDL7k?t=215
Test: treehugger
Change-Id: I608e1e000dec3f4b4919263dfb5688f42c02b1b1
Diffstat (limited to 'sources/android/ndk_helper/GLContext.h')
-rw-r--r-- | sources/android/ndk_helper/GLContext.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sources/android/ndk_helper/GLContext.h b/sources/android/ndk_helper/GLContext.h index cc0db463e..8862aa445 100644 --- a/sources/android/ndk_helper/GLContext.h +++ b/sources/android/ndk_helper/GLContext.h @@ -14,11 +14,7 @@ * limitations under the License. */ -//-------------------------------------------------------------------------------- -// GLContext.h -//-------------------------------------------------------------------------------- -#ifndef GLCONTEXT_H_ -#define GLCONTEXT_H_ +#pragma once #include <EGL/egl.h> #include <GLES2/gl2.h> @@ -121,5 +117,3 @@ public: }; } //namespace ndkHelper - -#endif /* GLCONTEXT_H_ */ |