mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-19 05:52:11 +01:00
[d3d9] Fix likeliness in GetStreamSource
This commit is contained in:
parent
2096a95262
commit
cad3b69e82
@ -2827,10 +2827,10 @@ namespace dxvk {
|
||||
|
||||
InitReturnPtr(ppStreamData);
|
||||
|
||||
if (unlikely(pOffsetInBytes != nullptr))
|
||||
if (likely(pOffsetInBytes != nullptr))
|
||||
*pOffsetInBytes = 0;
|
||||
|
||||
if (unlikely(pStride != nullptr))
|
||||
if (likely(pStride != nullptr))
|
||||
*pStride = 0;
|
||||
|
||||
if (unlikely(ppStreamData == nullptr || pOffsetInBytes == nullptr || pStride == nullptr))
|
||||
|
Loading…
x
Reference in New Issue
Block a user