Skip to content

Commit

Permalink
Fix undefined reference
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinMEPITECH committed Apr 16, 2022
1 parent de71fba commit 59ac531
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions Graphics/include/Graphics/Shader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

namespace Graphics
{
extern const uint32 shaderStageMap[];
/* Enum of supported shader types */
enum class ShaderType
{
Expand Down
3 changes: 0 additions & 3 deletions Graphics/src/Material.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ namespace Graphics
{
};

// Defined in Shader.cpp
extern uint32 shaderStageMap[];

class Material_Impl : public MaterialRes
{
public:
Expand Down

0 comments on commit 59ac531

Please sign in to comment.