X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FVideo.cc;h=8de161aa085daca5f087500869eb4067f329b34d;hp=ef966c7996e91fc2f33ca6aa6a5604d31ca2504d;hb=a4debfe4a5f5d339410788971b698ba00cb7f09c;hpb=892da43bf5796e7c5f593a6d0f53bd797a36bd3e diff --git a/src/Moof/Video.cc b/src/Moof/Video.cc index ef966c7..8de161a 100644 --- a/src/Moof/Video.cc +++ b/src/Moof/Video.cc @@ -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)