Skip to content

Commit

Permalink
Make immutable array const
Browse files Browse the repository at this point in the history
  • Loading branch information
Hinara authored Apr 11, 2022
1 parent 81ef517 commit de71fba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Graphics/src/Shader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@
namespace Graphics
{
#ifdef EMBEDDED
uint32 typeMap[] =
const uint32 typeMap[] =
{
GL_VERTEX_SHADER,
GL_FRAGMENT_SHADER,
};
#else
uint32 typeMap[] =
const uint32 typeMap[] =
{
GL_VERTEX_SHADER,
GL_FRAGMENT_SHADER,
GL_GEOMETRY_SHADER,
};
uint32 shaderStageMap[] =
const uint32 shaderStageMap[] =
{
GL_VERTEX_SHADER_BIT,
GL_FRAGMENT_SHADER_BIT,
Expand Down

0 comments on commit de71fba

Please sign in to comment.