C++ error Undeclared identifier
<p>I cant solve it... Help Please</p>

<p>projects\intento2\intento2\as.cpp(128): error C2065: 'Generate' : undeclared identifier</p>

<pre><code>    mov ecx,[ebp+32]
    mov edx,[ebp+28]
    PUSHAD;


 if (Generate)
{
 GenerateTexture(pDevice, &amp;texGreen , D3DCOLOR_ARGB(255,0,255,0));
 Generate = false;
}
</code></pre>
