mirror of
https://github.com/love2d/love.git
synced 2026-08-18 19:54:22 +02:00
love.graphics.validateShader no longer errors if the system doesn't support the shader
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user