wgl: Always revalidate framebuffer when front is requested

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36994>
This commit is contained in:
Jesse Natalie
2025-08-25 14:20:07 -07:00
committed by Marge Bot
parent cc017057eb
commit 75d285c2e2
+2 -1
View File
@@ -340,7 +340,8 @@ stw_st_framebuffer_validate(struct st_context *st,
stw_framebuffer_lock(stwfb->fb);
if (stwfb->fb->must_resize || stwfb->needs_fake_front || (statt_mask & ~stwfb->texture_mask)) {
if (stwfb->fb->must_resize || (statt_mask & ST_ATTACHMENT_FRONT_LEFT_MASK) ||
(statt_mask & ~stwfb->texture_mask)) {
stw_st_framebuffer_validate_locked(st, &stwfb->base,
stwfb->fb->width, stwfb->fb->height, statt_mask);
stwfb->fb->must_resize = false;