Forum > OpenGL

OpenGL on a canvas help required.

(1/1)

JasonLugg:
Hi Coders

I have a form with a canvas on it which I was drawing using standard drawing functions. However I need to upgrade to OpenGL but still want it to be used in the canvas area of the form.

Could someone tell me how to create an OpenGL context for this area only?

Thanks in advance.

BlueIcaro:
Hi, Try to install OpenGl Control, you will find it, under components folder of your Lazarus folder.
Also take a look of the samples, in under examples folder, and also visit the lazarus's wiki.

/BlueIcaro

Navigation

[0] Message Index

Go to full version