diff --git a/es-core/src/components/ImageComponent.cpp b/es-core/src/components/ImageComponent.cpp index 6da5f3d1a..4055c9989 100644 --- a/es-core/src/components/ImageComponent.cpp +++ b/es-core/src/components/ImageComponent.cpp @@ -123,9 +123,9 @@ void ImageComponent::resize() // Make sure sub-pixel values are not rounded to zero. if (mSize.x < 1.0f) - mSize.x = ceilf(mSize.x); + mSize.x = 1.0f; if (mSize.y < 1.0f) - mSize.y = ceilf(mSize.y); + mSize.y = 1.0f; mTexture->rasterizeAt(mSize.x, mSize.y);