On Monday 05 September 2016 16:59:20 code dz wrote:
> test case but its windows only
>
> 2016-09-05 16:57 UTC+02:00, code dz <[email protected]>:
> > Hi
> > i made 2 simple zengl app (with lazarus and msegui) , they are identical
> > . the problem is when resizing the window , with lazarus it work without
> > problem , but with msegui there is a weird behaviour .
"
procedure tmainfo.on_activate(const sender: TObject);
begin
  if not zglInited then begin
    zglInited := true;
    zglLoad(libZenGL);
    zgl_Reg(SYS_LOAD,@init);
    zgl_Reg(SYS_DRAW,@draw);
    zgl_InitToHandle(render_win.clientwinid); <<<<<----
  end; 
end;
"

zgl_InitToHandle() does not return which inhibits MSEgui event handling. 
Please do not mix zenGL event loop with MSEgui event loop.

Martin

------------------------------------------------------------------------------
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to