Fix GL1

Fixed undefined reference in GL1.