]> git.sesse.net Git - movit/blobdiff - flat_input.cpp
Move everything into “namespace movit”.
[movit] / flat_input.cpp
index d19cd4ee7a272d4147a53f25446bf84b7a0b62d0..ed8e3e96f835e5a2f39d281340ae6bdb9de36451 100644 (file)
@@ -9,6 +9,8 @@
 
 using namespace std;
 
+namespace movit {
+
 FlatInput::FlatInput(ImageFormat image_format, MovitPixelFormat pixel_format, GLenum type, unsigned width, unsigned height)
        : image_format(image_format),
           pixel_format(pixel_format),
@@ -118,3 +120,5 @@ void FlatInput::invalidate_pixel_data()
                texture_num = 0;
        }
 }
+
+}  // namespace movit