]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Video.cc
fixed layer bugs; generalized octree
[chaz/yoink] / src / Moof / Video.cc
index ef966c7996e91fc2f33ca6aa6a5604d31ca2504d..8de161aa085daca5f087500869eb4067f329b34d 100644 (file)
@@ -288,6 +288,17 @@ void Video::swap()
 }
 
 
+int Video::getWidth() const
+{
+       return context_->w;
+}
+
+int Video::getHeight() const
+{
+       return context_->h;
+}
+
+
 Video::Attributes::Attributes()
 {
        // Set some sane GL and window defaults (see SDL_video.c:217)
This page took 0.020174 seconds and 4 git commands to generate.