Recent

Author Topic: TOpenGLControl and MakeCurrent  (Read 918 times)

Espectr0

  • Full Member
  • ***
  • Posts: 221
TOpenGLControl and MakeCurrent
« on: January 20, 2024, 11:09:36 pm »
Hola,

I use the TOpenGLControl (Align set to Client), it is created in the main form and I call MakeCurrent from another thread in which I draw on it.

How do I prevent MakeCurrent from being executed in the main thread when changing the size of the form?

I have to override some method of the control like "Paint"?


Thanks!

 

TinyPortal © 2005-2018