Cleaner fix to the above
This commit is contained in:
parent
85c0f608e2
commit
fec845f6f8
|
@ -3760,7 +3760,7 @@ void GetMultiSampleOffsetAndScale(float& xScale, float& yScale, float& xOffset,
|
|||
yOffset = 0.5f;
|
||||
|
||||
// NOTE: Can be 0, so we need to check for that too
|
||||
if (g_Xbox_MultiSampleType > 0 && g_Xbox_MultiSampleType != XTL::X_D3DMULTISAMPLE_NONE) {
|
||||
if (g_Xbox_MultiSampleType > 0) {
|
||||
switch (g_Xbox_MultiSampleType)
|
||||
{
|
||||
case XTL::X_D3DMULTISAMPLE_2_SAMPLES_MULTISAMPLE_LINEAR:
|
||||
|
|
|
@ -669,7 +669,7 @@ void CxbxVertexBufferConverter::ConvertStream
|
|||
HostRenderTarget_Height = XboxRenderTarget_Height;
|
||||
}
|
||||
|
||||
bool bNeedRHWTransform = (g_Xbox_MultiSampleType > 0 && g_Xbox_MultiSampleType != XTL::X_D3DMULTISAMPLE_NONE) || (XboxRenderTarget_Width < HostRenderTarget_Width && XboxRenderTarget_Height < HostRenderTarget_Height);
|
||||
bool bNeedRHWTransform = g_Xbox_MultiSampleType > 0 || (XboxRenderTarget_Width < HostRenderTarget_Width && XboxRenderTarget_Height < HostRenderTarget_Height);
|
||||
|
||||
for (uint32_t uiVertex = 0; uiVertex < uiVertexCount; uiVertex++) {
|
||||
FLOAT *pVertexDataAsFloat = (FLOAT*)(&pHostVertexData[uiVertex * uiHostVertexStride]);
|
||||
|
|
Loading…
Reference in New Issue