wined3d: Write "unrecognized_register" in fallback case for get_register_name().

This commit is contained in:
Ivan Gyurdiev 2006-05-17 02:06:43 -04:00 committed by Alexandre Julliard
parent 746d1b1cd3
commit c05bc5d9c1
2 changed files with 2 additions and 0 deletions

View File

@ -781,6 +781,7 @@ inline static void get_register_name(const DWORD param, char* regstr, char const
break;
default:
FIXME("Unhandled register name Type(%ld)\n", regtype);
sprintf(regstr, "unrecognized_register");
break;
}
}

View File

@ -698,6 +698,7 @@ inline static void vshader_program_add_param(IWineD3DVertexShaderImpl *This, con
break;
default:
FIXME("Unknown reg type %ld %ld\n", regtype, reg);
strcat(hwLine, "unrecognized_register");
break;
}