I just knew that OpenGL is broken with Swift, changed to obj-c