Separated GL from CUDA a bit more