more fixes for Gems
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -1536,7 +1536,6 @@ void UiImageComponent::RenderSingleQuad(const AZ::Vector2* positions, const AZ::
|
||||
IDraw2d::Rounding pixelRounding = IsPixelAligned() ? IDraw2d::Rounding::Nearest : IDraw2d::Rounding::None;
|
||||
const uint32 numVertices = 4;
|
||||
SVF_P2F_C4B_T2F_F4B vertices[numVertices];
|
||||
const float z = 1.0f; // depth test disabled, if writing Z this will write at far plane
|
||||
for (int i = 0; i < numVertices; ++i)
|
||||
{
|
||||
AZ::Vector2 roundedPoint = Draw2dHelper::RoundXY(positions[i], pixelRounding);
|
||||
@@ -1596,7 +1595,6 @@ void UiImageComponent::RenderLinearFilledQuad(const AZ::Vector2* positions, cons
|
||||
IDraw2d::Rounding pixelRounding = IsPixelAligned() ? IDraw2d::Rounding::Nearest : IDraw2d::Rounding::None;
|
||||
const uint32 numVertices = 4;
|
||||
SVF_P2F_C4B_T2F_F4B vertices[numVertices];
|
||||
const float z = 1.0f; // depth test disabled, if writing Z this will write at far plane
|
||||
|
||||
for (int i = 0; i < numVertices; ++i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user