Original Post
hi everybody i implemented multithreading in my opengl application. i have a therad for all the rendering job. i have to create the opengl context in this thread (with SDL) otherwise it doesen't work. now i want to load textures in background in a other therad. but this doesen't work, glGenTextures fails. i have to call the texture loading function in the reander thread. but i want to avoid this. how can i call opengl commands (here glGenTextures) in other threads so that they work. thanks