View Full Version : OpenGL in VCL
04-01-2003, 05:55 AM
How to use OpenGL in VCL. How to draw about 1.000.000 points in a TForm or TPanel, or smf.
Just send the canvas.handle of the VCL that you want opengl inside to the opengl init routine ( where it wants a HDC)
works with everyting that has a canvas.
04-01-2003, 09:24 AM
I would take better TWinControl.Handle and get a DC via GetWindowDC. I don't trust a canvas handles, they could be released in a bad moment.
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.