stephanh42/RacketGL — pull request #8 by gcr (2013-09-22 17:47:43+00:00)
Title: Bugfix: Don't strip newlines from shaders

When using `(load-shader)` to compile shaders, the `(in-lines port)` generates a sequence of strings but each string doesn't have the newline at the end. Unfortunately, this causes shaders with `#version` preprocessing directives or comments to fail.

This patch adds the newlines back in.