I want to create few threads to load objects with textures, but it doesn't work. I've read that I should create new OpenGL context in each thread, but when I do it, program crashes on it. Is other way to do it?
I use freeGLUT. These are functions i want to use in threads:
glGenBuffers()
glBindBuffer()
glBufferData()
glGenTextures()
glBindTexture()
glTexImage2D()
glGenerateMipmap()
glTexParameteri()
glTexEnvi()