Convert from char* to char[]

This commit is contained in:
Shylie 2024-05-27 11:47:00 -04:00
parent 2861b78681
commit 12f7d22009

View File

@ -157,7 +157,7 @@ namespace
constexpr const char* SCREEN_VERTEX_SHADER_SOURCE_PTR = SCREEN_VERTEX_SHADER_SOURCE; constexpr const char* SCREEN_VERTEX_SHADER_SOURCE_PTR = SCREEN_VERTEX_SHADER_SOURCE;
constexpr char* SCREEN_FRAGMENT_SHADER_SOURCE = constexpr char SCREEN_FRAGMENT_SHADER_SOURCE[] =
"#version 450 core\n" "#version 450 core\n"
"in vec2 texcoord;\n" "in vec2 texcoord;\n"
"layout (binding = 1) uniform sampler2DArray " LAYERS_UNIFORM_NAME ";\n" "layout (binding = 1) uniform sampler2DArray " LAYERS_UNIFORM_NAME ";\n"