Skip to content

vc++/cx project cannot run well. #1

@bestoml

Description

@bestoml

Thanks for the sharing.It's good .I can run it in C# project.But in the vc++/cx project ,I import it ,and compile success,when run ,after I pick a picture,it shows the errors.Any help from you will be greatly appreciated.

DXGI ERROR: IDXGISwapChain2::SetMaximumFrameLatency: Can only be called for SwapChains with the DXGI_SWAP_CHAIN_FLAG_FRAME_LATENCY_WAITABLE_OBJECT flag. [ MISCELLANEOUS ERROR #217: ]
D3D11 WARNING: ID3D11DeviceContext::Draw: The Pixel Shader unit expects a Sampler to be set at Slot 0, but none is bound. This is perfectly valid, as a NULL Sampler maps to default Sampler state. However, the developer may not want to rely on the defaults. [ EXECUTION WARNING #352: DEVICE_DRAW_SAMPLER_NOT_SET]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions