mirror of
https://github.com/rive-app/rive-cpp.git
synced 2026-01-18 21:21:17 +01:00
Fix D3D warning (#10580) a3e22e1322
* Always set sampler even if no texture * Add scope block to sampler setting * remove empty line Co-authored-by: John White <aliasbinman@gmail.com>
This commit is contained in:
@@ -1 +1 @@
|
||||
3afebf3d4f68fc7e0d206cc02390a5064aa842e4
|
||||
a3e22e13229d586ac6aa8c852f8940418acd871d
|
||||
|
||||
@@ -1878,6 +1878,9 @@ void RenderContextD3DImpl::flush(const FlushDescriptor& desc)
|
||||
m_gpuContext->PSSetShaderResources(IMAGE_TEXTURE_IDX,
|
||||
1,
|
||||
imageTextureD3D->srvAddressOf());
|
||||
}
|
||||
|
||||
{
|
||||
// we should never get a sampler option that is greater then our
|
||||
// array size
|
||||
assert(batch.imageSampler.asKey() <
|
||||
|
||||
Reference in New Issue
Block a user