Recent

Author Topic: OpenGL on a canvas help required.  (Read 3494 times)

JasonLugg

  • Jr. Member
  • **
  • Posts: 67
OpenGL on a canvas help required.
« on: November 03, 2012, 06:05:14 pm »
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

  • Hero Member
  • *****
  • Posts: 734
    • My github
Re: OpenGL on a canvas help required.
« Reply #1 on: November 03, 2012, 07:27:31 pm »
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

 

TinyPortal © 2005-2018