love.graphics.validateShader no longer errors if the system doesn't support the shader

This commit is contained in:
Alex Szpakowski
2021-07-18 14:09:28 -03:00
parent 00494ec3b5
commit 92d0d1d60f
3 changed files with 18 additions and 13 deletions
+1 -1
View File
@@ -219,7 +219,7 @@ public:
void getLocalThreadgroupSize(int *x, int *y, int *z);
static SourceInfo getSourceInfo(const std::string &src);
static std::string createShaderStageCode(Graphics *gfx, ShaderStageType stage, const std::string &code, const SourceInfo &info);
static std::string createShaderStageCode(Graphics *gfx, ShaderStageType stage, const std::string &code, const SourceInfo &info, bool gles, bool checksystemfeatures);
static bool validate(StrongRef<ShaderStage> stages[], std::string &err);