Re: [GtkGLExt] OpenGL rendering context - multithreading



On Sun, 2010-01-31 at 13:24 -0800, Peter Sivak wrote:

[snip]

> So how can I solve this? Should I construct the "Gtk::GL::DrawingArea" when
> I am in the game thread, or should I create a new OpenGL context for the
> game thread or what (and how)?

You should probably reorganize things to do all your drawing on the same
thread, regardless of whether it's OpenGL or Gtk.

-- 
Braden McDaniel <braden endoframe com>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]