Recent

Author Topic: OpenGLControl: Event for prepared OGLC after creating  (Read 597 times)

Milsa

  • Sr. Member
  • ****
  • Posts: 328
OpenGLControl: Event for prepared OGLC after creating
« on: April 21, 2023, 05:12:47 pm »
Creating of OpenGLControl (OGLC) takes any time (about 2 seconds). I have emulator, whitch I want to pause for OGLC creating. How can I detect that OGLC is created and prepared for work?

Change to fullscreen creates new OGLC besause change of BorderStyle breaks OGLC. Emulator then speeds up for lost time (maybe one thread for creating OGLC and emulator main thread).

I need pause emulator for OGLC creating time.
I work with Lazarus 4.0, FPC 3.2.2, date 2025-05-03
This information is actual to: 3rd Aug 2025

 

TinyPortal © 2005-2018