Skip to content

DX11 Resize() permanently nulls depthStencilState, leaving cull mode inverted #172

Description

@CanReader

src/Graphics/DirectX11/DirectX11Renderer.cpp:132

Resize() calls ClearState() and permanently nulls depthStencilState: it is never re-created (single
call site at :132). After any window resize the depth-stencil state is lost and cull mode ends up inverted
for the rest of the session.

Severity: visual.

Found by a full audit of the graphics layer. Assessed severity: visual.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: renderingRenderer, shaders, post processingbackend: dx11Specific to the dx11 backendbugSomething isn't workingpriority: mediumWorth doing, not urgentvisualIncorrect or degraded rendering output

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions