Skip to content

Commit

Permalink
Mark that LCL+Carbon not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
michaliskambi committed Sep 3, 2024
1 parent 343b1fb commit 71fe404
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions code/v3dsceneraytrace.pas
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,8 @@ procedure RaytraceToWin(
twice on Ctrl+R, since we rebuild the menu inside the menu handler).
For now, just handle Escape and CtrlS specially on Mac OS X. }
{$ifdef LCLCarbon}
Window.OnPress := @PressWorking;
{$fatal Compilation for LCL+Carbon is not supported now, since it's not tested.}
//Window.OnPress := @PressWorking; // this will not compile with latest CGE
{$else}
Window.MainMenu := MainMenuWorking;
Window.OnMenuClick := @MenuClick;
Expand Down Expand Up @@ -364,7 +365,8 @@ procedure RaytraceToWin(
Window.Invalidate;
Window.Caption := 'castle-model-viewer - Ray Tracing - done';
{$ifdef LCLCarbon}
Window.OnPress := @PressDone;
{$fatal Compilation for LCL+Carbon is not supported now, since it's not tested.}
//Window.OnPress := @PressDone;
{$else}
Window.MainMenu := MainMenuDone;
{$endif}
Expand Down
1 change: 1 addition & 0 deletions code/v3dsceneshadows.pas
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ interface
TV3DShadowsViewport = class(TMyViewport)
protected
procedure RenderOnePass(const Params: TRenderParams
{.$define CGE_NEW_ONE_PASS_RENDERING}
{$ifdef CGE_NEW_ONE_PASS_RENDERING} ;
const UsingBlending: Boolean;
const FilterShadowVolumesReceivers: TBooleanSet
Expand Down

0 comments on commit 71fe404

Please sign in to comment.