]> git.sesse.net Git - movit/blobdiff - effect_chain.h
Check for __APPLE__ instead of __DARWIN__.
[movit] / effect_chain.h
index 6452d14952dbbda0a67fe879e45c4b96cd86d37f..593232cf01e036f47728ae1fd3d2c756bf6d3d85 100644 (file)
 // but if so, the threads' contexts need to be set up to share resources, since
 // the EffectChain holds textures and other OpenGL objects that are tied to the
 // context.
+//
+// Memory management (only relevant if you use multiple contexts):
+// See corresponding comment in resource_pool.h. This holds even if you don't
+// allocate your own ResourcePool, but let EffectChain hold its own.
 
-#include <GL/glew.h>
+#include <epoxy/gl.h>
 #include <stdio.h>
 #include <map>
 #include <set>