Using OpenGL with VB.NET
Subject:   Traps
Date:   2003-05-06 00:24:41
From:   anonymous2
As an avid OpenGL AND C# (or VB.NET) programmer I would like to make two remarks:

1. Watch out for the 'OpenGL Thread'! When using a seperate thread things could go wrong: a) ALL the OpenGL code must be called on the SAME thread (OpenGL isn't multithreaded yet) and b) ALL the Window Form code must be called on the original (Form creating) thread.

2. (This is worse) the OnSizeChanged function calls itself... stack overflow is bound to follow; I guess (as it should) that the code had to be MyBase.OnSizeChanged(e) instead of Me.OnSizeChanged(e)

Happy Coding!

PS: I'm still wondering why CSGL changed to TAO... did it?

1 to 2 of 2
  1. Traps
    2003-05-06 20:28:59  anonymous2 [View]

    • Forms
      2003-05-07 03:17:34  anonymous2 [View]

  2. Traps
    2003-05-06 01:43:42  anonymous2 [View]

1 to 2 of 2