mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8355884: [macos] java/awt/Frame/I18NTitle.java fails on MacOS
Reviewed-by: kcr, dmarkov, aivanov, honkar, kizune
This commit is contained in:
parent
5ae719c8fc
commit
52e1e739af
@ -494,8 +494,8 @@ CGGI_SizeCanvas(CGGI_GlyphCanvas *canvas, const vImagePixelCount width,
|
||||
const CGGI_RenderingMode* mode)
|
||||
{
|
||||
if (canvas->image != NULL &&
|
||||
width * CGGI_GLYPH_CANVAS_SLACK <= canvas->image->width &&
|
||||
height * CGGI_GLYPH_CANVAS_SLACK <= canvas->image->height)
|
||||
width < canvas->image->width &&
|
||||
height < canvas->image->height)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user