diff options
author | Emil Velikov <[email protected]> | 2017-03-20 16:04:19 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-03-22 16:55:22 +0000 |
commit | b04916285e6ea27a5dbcbfc5939d3947b1b21c63 (patch) | |
tree | 1903b0b541187d29dec183fad44881bd34de0254 /src | |
parent | 1385e588051429cb3a9d7cc0f347c716e4bca227 (diff) |
st/wgl: consistently use ifndef guards over pragma once
Signed-off-by: Emil Velikov <[email protected]>
Acked-by: Vedran Miletić <[email protected]>
Acked-by: Juha-Pekka Heikkila <[email protected]>
Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/state_trackers/wgl/stw_ext_context.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/wgl/stw_ext_context.h b/src/gallium/state_trackers/wgl/stw_ext_context.h index 9cb12b498bd..d0337490436 100644 --- a/src/gallium/state_trackers/wgl/stw_ext_context.h +++ b/src/gallium/state_trackers/wgl/stw_ext_context.h @@ -22,7 +22,8 @@ * OTHER DEALINGS IN THE SOFTWARE. */ -#pragma once +#ifndef STW_EXT_CONTEXT_H +#define STW_EXT_CONTEXT_H #include <windows.h> #include <GL/gl.h> @@ -34,3 +35,4 @@ typedef BOOL (WINAPI *wglDeleteContext_t)(HGLRC hglrc); extern wglCreateContext_t wglCreateContext_func; extern wglDeleteContext_t wglDeleteContext_func; +#endif /* STW_EXT_CONTEXT_H */ |