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
|
||||
char szCmd[100]="\0";
|
||||
char empty[8] = "";
|
||||
BOOL bOptimized = OptimizeOperation(
|
||||
szABOp,
|
||||
szCDOp,
|
||||
bVAccess[2] ? "" : szABCDOp,
|
||||
bVAccess[2] ? empty : szABCDOp,
|
||||
szOutputMod,
|
||||
|
||||
#ifdef REVEL8N_PIXEL_SHADER_CHANGES
|
||||
|
|
Loading…
Reference in New Issue