X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FVideo.cc;h=63970e44389f5b5944eb00092e6e78c07e3e072d;hp=0452c973cd91264f0a82c2120de786625c079d7b;hb=f72400af4fa3e7b54dab154b5a2b6503a6f9af18;hpb=a5f0d391406a68275b41448fc3f49e8d8396c497 diff --git a/src/Moof/Video.cc b/src/Moof/Video.cc index 0452c97..63970e4 100644 --- a/src/Moof/Video.cc +++ b/src/Moof/Video.cc @@ -311,7 +311,7 @@ Video::Attributes::Attributes() Settings& settings = Settings::getInstance(); - std::vector colors; + Serializable::Array colors; settings.get("video.colorbuffers", colors); if (colors.size() > 0) colors[0]->get(colorBuffer[0]); if (colors.size() > 1) colors[1]->get(colorBuffer[1]); @@ -323,7 +323,7 @@ Video::Attributes::Attributes() settings.get("video.depthbuffer", depthBuffer); settings.get("video.stencilbuffer", stencilBuffer); - std::vector accum; + Serializable::Array accum; settings.get("video.accumbuffers", accum); if (accum.size() > 0) accum[0]->get(accumBuffer[0]); if (accum.size() > 1) accum[1]->get(accumBuffer[1]); @@ -342,7 +342,7 @@ Video::Attributes::Attributes() } settings.get("video.icon", icon); - std::vector dimensions; + Serializable::Array dimensions; settings.get("video.mode", dimensions); if (dimensions.size() > 0) dimensions[0]->get(mode[0]); if (dimensions.size() > 1) dimensions[1]->get(mode[1]);