🚨 Check the arrow texture height, not the width twice

This commit is contained in:
2026-11-15 22:06:51 +01:00
parent 7c3c4d89c4
commit c6e1a10d3b
+1 -1
View File
@@ -111,7 +111,7 @@ end;
procedure TGLArrow.UpdateTexture; procedure TGLArrow.UpdateTexture;
begin begin
if (FGraphic <> nil) and (FRealWidth > 0) and (FRealWidth > 0) then if (FGraphic <> nil) and (FRealWidth > 0) and (FRealHeight > 0) then
begin begin
FTexture := CreateGLTextureFromImage(FGraphic.ImageDataPointer^, 0, 0, False); FTexture := CreateGLTextureFromImage(FGraphic.ImageDataPointer^, 0, 0, False);