On Tue, 24 Nov 2026 11:15:09 GMT, Martin Doerr <[email protected]> wrote:

>> Matthias Baesken has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Bring back depth output in trace
>
> src/java.desktop/share/native/common/java2d/opengl/OGLSurfaceData.c line 360:
> 
>> 358:             J2dTraceLn(J2D_TRACE_VERBOSE,
>> 359:                        "  framebuffer is incomplete: depth=%d 
>> status=%x",
>> 360:                        /* depthSize = */ (16 + (i * 8)), status);
> 
> Why is this better?

The J2d trace is currently debug-only, so before we would have a defined but 
unused variable for depth; this way we get rid of it.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/33495#discussion_r4680310401

Reply via email to