<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def build_if_needed(self):
 """ Reset shader source if necesssary. """

        if self._need_build:
            self._build()
            self._need_build = False
        self.update_variables()