Helpers implementation
| 575 | |
| 576 | // Helpers implementation |
| 577 | static bool isValidUniform(const char* name) |
| 578 | { |
| 579 | return !(strcmp(name, "defines") == 0 || strcmp(name, "vertexShader") == 0 || strcmp(name, "fragmentShader") == 0); |
| 580 | } |
| 581 | |
| 582 | static const char* getOptionalString(Properties* properties, const char* key, const char* defaultValue) |
| 583 | { |