Add OpenGL support.

This commit is contained in:
LuisAntonRebollo 2014-11-08 17:41:17 +01:00
parent c354f59b72
commit dd08fd2e7d
55 changed files with 2957 additions and 802 deletions

View file

@ -89,6 +89,11 @@ struct GFXSamplerStateDesc
/// Returns an modulate, clamp, and point sampled state.
static GFXSamplerStateDesc getClampPoint();
bool operator==(const GFXSamplerStateDesc &b) const
{
return !dMemcmp(this, &b, sizeof(GFXSamplerStateDesc));
}
};
/// GFXStateBlockDesc defines a render state, which is then used to create a GFXStateBlock instance.