XbPixelShader: Use empty local to avoid undefined behavior
This commit is contained in:
parent
e4371adf5e
commit
c821ac0f02
|
@ -6596,10 +6596,11 @@ inline void HandleInputOutput
|
||||||
|
|
||||||
// As first do the ab operation
|
// As first do the ab operation
|
||||||
char szCmd[100]="\0";
|
char szCmd[100]="\0";
|
||||||
|
char empty[8] = "";
|
||||||
BOOL bOptimized = OptimizeOperation(
|
BOOL bOptimized = OptimizeOperation(
|
||||||
szABOp,
|
szABOp,
|
||||||
szCDOp,
|
szCDOp,
|
||||||
bVAccess[2] ? "" : szABCDOp,
|
bVAccess[2] ? empty : szABCDOp,
|
||||||
szOutputMod,
|
szOutputMod,
|
||||||
|
|
||||||
#ifdef REVEL8N_PIXEL_SHADER_CHANGES
|
#ifdef REVEL8N_PIXEL_SHADER_CHANGES
|
||||||
|
|
Loading…
Reference in New Issue