Skip to content

Commit f0c76fe

Browse files
committed
Fix undefined reference
1 parent de71fba commit f0c76fe

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Graphics/include/Graphics/Shader.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
namespace Graphics
55
{
6+
extern const uint32 shaderStageMap[];
67
/* Enum of supported shader types */
78
enum class ShaderType
89
{

Graphics/src/Material.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,6 @@ namespace Graphics
5757
{
5858
};
5959

60-
// Defined in Shader.cpp
61-
extern uint32 shaderStageMap[];
62-
6360
class Material_Impl : public MaterialRes
6461
{
6562
public:

0 commit comments

Comments
 (0)