Add an assertion to avoid compile error
Merge pull request #21 from elemoine/webgl-point-compile-err

[webgl-point] Add an assertion to avoid compile error