Added preprocessor and if statement checks if texture swizzling is supported
Added variables to check is texture clamp-to-border is supported