On Mon, 3 Nov 2025 11:19:05 GMT, Ambarish Rapte <[email protected]> wrote:

>> Fair point. I think this code works regardless because originally `maskTex` 
>> was supposed to be guarded by `curMaskRow` and `curMaskCol` below being set 
>> to zero.
>> 
>> I will change it to the above.
>
> If this check fixes this particular issue, then can the calls 
> `!resource.isValid()` be removed ?

I think they should remain unless we are absolutely certain that this is the 
only possibly place where `update` can be called on a texture that has been 
released.

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/1951#discussion_r2488195650

Reply via email to