1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-06-12 22:07:39 +02:00

Linux fixes made by pmamod

- Added 2 Linux demos in Lazarus : SimpleBrowser2 and SimpleOSRBrowser.
This commit is contained in:
Salvador Díaz Fau
2019-12-18 15:10:30 +01:00
parent c99d14c8f0
commit b57ba15ff6
35 changed files with 4992 additions and 66 deletions

View File

@ -715,7 +715,7 @@ begin
aWindowInfo.width := 0;
aWindowInfo.height := 0;
aWindowInfo.parent_window := aParent;
aWindowInfo.windowless_rendering_enabled := ord(False);
aWindowInfo.windowless_rendering_enabled := ord(True);
aWindowInfo.shared_texture_enabled := ord(False);
aWindowInfo.external_begin_frame_enabled := ord(False);
aWindowInfo.window := 0;
@ -792,7 +792,9 @@ const
DEFAULT_LINE = 1;
begin
{$IFDEF DEBUG}
{$IFNDEF FPC}
OutputDebugString({$IFDEF DELPHI12_UP}PWideChar{$ELSE}PAnsiChar{$ENDIF}(aMessage + chr(0)));
{$ENDIF}
if (GlobalCEFApp <> nil) and GlobalCEFApp.LibLoaded then
CefLog('CEF4Delphi', DEFAULT_LINE, CEF_LOG_SEVERITY_ERROR, aMessage);