Forum > OpenGL

TOpenGLControl and MakeCurrent

(1/1)

Espectr0:
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!

Navigation

[0] Message Index

Go to full version