Skip to content

Commit

Permalink
No support for supportsComponentAlpha on metal
Browse files Browse the repository at this point in the history
  • Loading branch information
hughsando committed Mar 27, 2024
1 parent dbd2f18 commit 4e39263
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion project/src/metal/MetalContext.mm
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ void update()
}
}


UserPoint PixelToTex(const UserPoint &inPixels)
{
return UserPoint(inPixels.x/width, inPixels.y/height);
Expand Down Expand Up @@ -769,9 +768,16 @@ void SetWindowSize(int inWidth,int inHeight)
width = inWidth;
height = inHeight;
}

bool supportsComponentAlpha() const
{
return false;
}

void SetQuality(StageQuality inQuality)
{
}

void BeginRender(const Rect &inRect,bool inForHitTest)
{
#ifndef OBJC_ARC
Expand Down

0 comments on commit 4e39263

Please sign in to comment.