Closed Bug 684312 Opened 14 years ago Closed 14 years ago

Webgl Water demo not working, with "compile error: ERROR: 0:1: 'unexpected EOF' : syntax error"

Categories

(Core :: Graphics: CanvasWebGL, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dholbert, Unassigned)

References

()

Details

STR: Load http://madebyevan.com/webgl-water/ EXPECTED RESULTS: Pretty rippling water. ACTUAL RESULTS: Black canvas, saying: compile error: ERROR: 0:1: 'unexpected EOF' : syntax error Regression range: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=e58e98a89827&tochange=e87454393401 Bug 680722 is the only checkin in that range to mention WebGL -- assuming regression from that. (This might be a duplicate of bug 683710, which is also a regression from that checkin, but I'm filing this separately for now since the "compile error" warning message is different from the one mentioned on that bug.)
Indeed probably a duplicate of 683710. The most probable thing is that as the patch from bug 680722 causes ShaderSource to reject the source string, we're subsequently compiling an empty shader source, which would explain the unexpected-EOF message.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Resolution: DUPLICATE → FIXED
You need to log in before you can comment on or make changes to this bug.