From: Frederic Bouvier Date: Wed, 26 Sep 2012 06:38:04 +0000 (+0200) Subject: Provide a definition for GL_SAMPLE_ALPHA_TO_COVERAGE_ARB X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=700b0bc7768aa170e099fcf5341483a9a1f89e7b;p=simgear.git Provide a definition for GL_SAMPLE_ALPHA_TO_COVERAGE_ARB --- diff --git a/simgear/scene/material/Effect.cxx b/simgear/scene/material/Effect.cxx index e607c2e5..70f8e8fe 100644 --- a/simgear/scene/material/Effect.cxx +++ b/simgear/scene/material/Effect.cxx @@ -608,6 +608,10 @@ struct AlphaToCoverageBuilder : public PassAttributeBuilder const SGReaderWriterOptions* options); }; +#ifndef GL_SAMPLE_ALPHA_TO_COVERAGE_ARB +#define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E +#endif + void AlphaToCoverageBuilder::buildAttribute(Effect* effect, Pass* pass, const SGPropertyNode* prop, const SGReaderWriterOptions* options)