wined3d: Do not print the fixed / unfixed vertices warning with shaders.
This commit is contained in:
parent
1936fd99ee
commit
fb1469c47d
|
@ -178,7 +178,6 @@ void primitiveDeclarationConvertToStridedData(
|
||||||
TRACE("Stream is up %d, %p\n", element->Stream, This->stateBlock->streamSource[element->Stream]);
|
TRACE("Stream is up %d, %p\n", element->Stream, This->stateBlock->streamSource[element->Stream]);
|
||||||
streamVBO = 0;
|
streamVBO = 0;
|
||||||
data = (BYTE *)This->stateBlock->streamSource[element->Stream];
|
data = (BYTE *)This->stateBlock->streamSource[element->Stream];
|
||||||
if(fixup && *fixup) FIXME("Missing fixed and unfixed vertices, expect graphics glitches\n");
|
|
||||||
} else {
|
} else {
|
||||||
TRACE("Stream isn't up %d, %p\n", element->Stream, This->stateBlock->streamSource[element->Stream]);
|
TRACE("Stream isn't up %d, %p\n", element->Stream, This->stateBlock->streamSource[element->Stream]);
|
||||||
if(!isPreLoaded[element->Stream]) {
|
if(!isPreLoaded[element->Stream]) {
|
||||||
|
@ -189,7 +188,10 @@ 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) FIXME("Missing fixed and unfixed vertices, expect graphics glitches\n");
|
else if(*fixup && This->stateBlock->vertexShader == NULL) {
|
||||||
|
/* This may be bad with the fixed function pipeline */
|
||||||
|
FIXME("Missing fixed and unfixed vertices, expect graphics glitches\n");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stride = This->stateBlock->streamStride[element->Stream];
|
stride = This->stateBlock->streamStride[element->Stream];
|
||||||
|
|
Loading…
Reference in New Issue