]> git.sesse.net Git - movit/blobdiff - resource_pool.h
Properly ignore the sign bit when comparing NaNs.
[movit] / resource_pool.h
index ae89d9f517e5c09a36bd0ea0eba99777990b0c56..d8d8ceca3ca1deb2b50dfd2b45fa256af908beeb 100644 (file)
@@ -16,7 +16,7 @@
 // safely called from multiple threads at the same time, provided they have
 // separate (but sharing) OpenGL contexts.
 
-#include <GL/glew.h>
+#include <epoxy/gl.h>
 #include <pthread.h>
 #include <stddef.h>
 #include <list>
@@ -24,6 +24,8 @@
 #include <string>
 #include <utility>
 
+namespace movit {
+
 class ResourcePool {
 public:
        // program_freelist_max_length is how many compiled programs that are unused to keep
@@ -106,4 +108,6 @@ private:
        static size_t estimate_texture_size(const Texture2D &texture_format);
 };
 
+}  // namespace movit
+
 #endif  // !defined(_MOVIT_RESOURCE_POOL_H)