Interesting, I've attempted to do the same, both in KSP and in the actual Unity engine, I have not had any luck drawing lines nor quads to any effect. Apparently the GL calls do require you to have Unity Pro, which would explain this setup not working in the engine; however, it is very peculiar that it would not work with KSP (being built in Pro), either through some fluke of its design or whatnot. If nothing else, you may want to try using Unity's LineRenderer class to achieve the same; it should provide similar (if not greater) functionality than what hand-coded OpenGL can achieve.