Implemented some texture operations using ATI_texture_env_combine3. Fixed D3DTOP_LERP. Fixed some checkGLcall error messages.