Small fixes

This commit is contained in:
DH 2014-01-31 22:54:26 +02:00
parent 4b8d6b6919
commit d93ce95a36
3 changed files with 16 additions and 13 deletions

View file

@ -214,7 +214,7 @@ void GLVertexDecompilerThread::AddCode(bool is_sca, wxString code, bool src_mask
{
if(d3.vec_writemask_x)
{
dest = "gl_FogFragCoord";
dest = m_parr.AddParam(PARAM_OUT, "vec4", "fogc") + mask;
}
else
{
@ -338,6 +338,8 @@ wxString GLVertexDecompilerThread::BuildCode()
void GLVertexDecompilerThread::Task()
{
m_parr.params.Clear();
for(u32 i=0;;)
{
d0.HEX = m_data[i++];