mirror of
https://github.com/godotengine/godot.git
synced 2026-02-07 19:32:36 +00:00
Style: Integrate #pragma once in builders/checks
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
/* WARNING, THIS FILE WAS GENERATED, DO NOT EDIT */
|
||||
#ifndef VERTEX_FRAGMENT_GLSL_GEN_HGLES3_GLES3
|
||||
#define VERTEX_FRAGMENT_GLSL_GEN_HGLES3_GLES3
|
||||
#pragma once
|
||||
|
||||
|
||||
#include "drivers/gles3/shader_gles3.h"
|
||||
@@ -70,5 +69,3 @@ void main() {
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
/* WARNING, THIS FILE WAS GENERATED, DO NOT EDIT */
|
||||
#ifndef COMPUTE_SHADER_GLSL_RAW_H
|
||||
#define COMPUTE_SHADER_GLSL_RAW_H
|
||||
#pragma once
|
||||
|
||||
static const char compute_shader_glsl[] = {
|
||||
R"<!>(#[compute]
|
||||
@@ -17,4 +16,3 @@ void main() {
|
||||
}
|
||||
)<!>"
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
/* WARNING, THIS FILE WAS GENERATED, DO NOT EDIT */
|
||||
#ifndef VERTEX_FRAGMENT_SHADER_GLSL_RAW_H
|
||||
#define VERTEX_FRAGMENT_SHADER_GLSL_RAW_H
|
||||
#pragma once
|
||||
|
||||
static const char vertex_fragment_shader_glsl[] = {
|
||||
R"<!>(#[versions]
|
||||
@@ -37,4 +36,3 @@ void main() {
|
||||
}
|
||||
)<!>"
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
/* WARNING, THIS FILE WAS GENERATED, DO NOT EDIT */
|
||||
#ifndef COMPUTE_GLSL_GEN_H_RD
|
||||
#define COMPUTE_GLSL_GEN_H_RD
|
||||
#pragma once
|
||||
|
||||
#include "servers/rendering/renderer_rd/shader_rd.h"
|
||||
|
||||
@@ -28,5 +27,3 @@ void main() {
|
||||
setup(nullptr, nullptr, _compute_code, "ComputeShaderRD");
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
/* WARNING, THIS FILE WAS GENERATED, DO NOT EDIT */
|
||||
#ifndef VERTEX_FRAGMENT_GLSL_GEN_H_RD
|
||||
#define VERTEX_FRAGMENT_GLSL_GEN_H_RD
|
||||
#pragma once
|
||||
|
||||
#include "servers/rendering/renderer_rd/shader_rd.h"
|
||||
|
||||
@@ -42,5 +41,3 @@ void main() {
|
||||
setup(_vertex_code, _fragment_code, nullptr, "VertexFragmentShaderRD");
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user