Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: Multi-threading

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2005
    Posts
    1

    Multi-threading

    I'm trying to get OpenGL working in a mutli-threaded environment, but have a problem with SwapBuffers crashing in my rendering thread.

    Everything works fine if I call SwapBuffers it crashes with an exception violation.

    This is under WindowsXP and hDC is correct.

    Anyone got any suggestions?

  2. #2
    Junior Member Regular Contributor
    Join Date
    Aug 2004
    Location
    Palo Alto, CA
    Posts
    111

    Re: Multi-threading

    Could you be more specific about what and how you are using OpenGL + Threads ?

  3. #3
    Junior Member Newbie
    Join Date
    Aug 2005
    Posts
    12

    Re: Multi-threading

    More information would be useful.
    Since I have to shoot in the dark I would check that the DC (and HWND) are created (and destroyed) in the rendering thread.
    If this is already the case, it might be problem in the driver.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •