wined3d: Print the fixed and unfixed vertex warning only when needed.
This commit is contained in:
parent
9ba3f389f6
commit
97cd8bab1b
|
@ -199,9 +199,11 @@ void primitiveDeclarationConvertToStridedData(
|
||||||
data = IWineD3DVertexBufferImpl_GetMemory(This->stateBlock->streamSource[element->Stream], 0, &streamVBO);
|
data = IWineD3DVertexBufferImpl_GetMemory(This->stateBlock->streamSource[element->Stream], 0, &streamVBO);
|
||||||
if(fixup) {
|
if(fixup) {
|
||||||
if( streamVBO != 0) *fixup = TRUE;
|
if( streamVBO != 0) *fixup = TRUE;
|
||||||
else if(*fixup && !useVertexShaderFunction) {
|
else if(*fixup && !useVertexShaderFunction &&
|
||||||
|
(element->Usage == WINED3DDECLUSAGE_COLOR ||
|
||||||
|
element->Usage == WINED3DDECLUSAGE_POSITIONT)) {
|
||||||
/* This may be bad with the fixed function pipeline */
|
/* This may be bad with the fixed function pipeline */
|
||||||
FIXME("Missing fixed and unfixed vertices, expect graphics glitches\n");
|
FIXME("Missing vbo streams with unfixed colors or transformed position, expect problems\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue