When using Swift to create an OpenGL application, I get this error whenever I use OpenGL commands, for example:
glBindRenderbuffer(GL_RENDERBUFFER, self.colorRenderBuffer)
I get the error message ` Int32` does not convert to ' Glenum'
Any ideas how to fix this?
source
share