Jump to content


Photo

openGl multiple threads


  • Please log in to reply
No replies to this topic

#1 claudiu.scaunas

claudiu.scaunas

    Member

  • Membri
  • 30 posts

Posted 29 January 2016 - 09:04 AM

functia glXMakeCurrent functioneaza doar o singura data indiferent din ce thread e accesata si nu inteleg de ce, vreo idee ? Am nevoie sa accesez openGl din orice thread.

 

openGlWin->glc = glXCreateContext(openGlWin->dpy, openGlWin->vi, NULL, GL_TRUE);

glXMakeCurrent(openGlWin->dpy, openGlWin->win, openGlWin->glc);

 

SO: LINUX.


REZOLVAT.


Edited by claudiu.scaunas, 29 January 2016 - 08:12 AM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users