From 700b0bc7768aa170e099fcf5341483a9a1f89e7b Mon Sep 17 00:00:00 2001 From: Frederic Bouvier Date: Wed, 26 Sep 2012 08:38:04 +0200 Subject: [PATCH] Provide a definition for GL_SAMPLE_ALPHA_TO_COVERAGE_ARB --- simgear/scene/material/Effect.cxx | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.39.5