3Dickulus / FragM

Derived from https://github.com/Syntopia/Fragmentarium/
GNU General Public License v3.0
344 stars 30 forks source link

bad error reporting behaviour with repeated builds #161

Closed claudeha closed 3 years ago

claudeha commented 3 years ago

Describe the bug Building twice a shader with errors in the buffershader, without making any changes to anything in between, only shows the error the first time.

To Reproduce

  1. Open new tab, usually displaying 8 balls, build.
  2. Put an error; in the BufferShader.frag and save it.
  3. Build, see error displayed in log.
  4. Build again, see no error displayed in log (so it appears to have been successful), rendering proceeds as if there is no buffer shader at all (screen soon goes white from accumulation of subframes, it has not been successful after all).

Expected behavior Errors to be displayed accurately.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

3Dickulus commented 3 years ago

I see this on second build, but only if no changes are made to the source, it should report the same error. Screenshot_20201209_185201 ...and will not engage subframe rendering, stays in "stop" mode

are these recent tests all done with up-to-date files from the repo?