]> git.mxchange.org Git - simgear.git/commitdiff
Provide a definition for GL_SAMPLE_ALPHA_TO_COVERAGE_ARB
authorFrederic Bouvier <fredfgfs01@free.fr>
Wed, 26 Sep 2012 06:38:04 +0000 (08:38 +0200)
committerFrederic Bouvier <fredfgfs01@free.fr>
Wed, 26 Sep 2012 06:38:04 +0000 (08:38 +0200)
simgear/scene/material/Effect.cxx

index e607c2e5bb6e4e45e7eca14bc71094e146faeb84..70f8e8fe49509e5c199aab64405ccfa8a77ae8bb 100644 (file)
@@ -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)