Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool Shader::shaderModified(const char* frag) {
- char *source = FileUtils::readFile(frag);
- return (strcmp(fragSource, source) != 0) ? true : false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement