fix variable capitilization. Don't initialize it in the struct's constructor

This commit is contained in:
Malcolm Bechard 2021-03-16 19:00:52 -04:00
parent b2e5b5c559
commit 48f08c60e2
2 changed files with 5 additions and 4 deletions

View file

@ -187,7 +187,7 @@ struct TInputLanguage {
EShLanguage stage; // redundant information with other input, this one overrides when not EShSourceNone
EShClient dialect;
int dialectVersion; // version of client's language definition, not the client (when not EShClientNone)
bool VulkanRulesRelaxed = false;
bool vulkanRulesRelaxed;
};
struct TClient {
@ -556,8 +556,8 @@ public:
bool getEnvTargetHlslFunctionality1() const { return false; }
#endif
void setEnvInputVulkanRulesRelaxed() { environment.input.VulkanRulesRelaxed = true; }
bool getEnvInputVulkanRulesRelaxed() const { return environment.input.VulkanRulesRelaxed; }
void setEnvInputVulkanRulesRelaxed() { environment.input.vulkanRulesRelaxed = true; }
bool getEnvInputVulkanRulesRelaxed() const { return environment.input.vulkanRulesRelaxed; }
// Interface to #include handlers.
//