#include <msp/datafile/packsource.h>
#include <msp/fs/stat.h>
#include <msp/fs/utils.h>
-#include <msp/graphics/simplewindow.h>
+#include <msp/graphics/display.h>
+#include <msp/graphics/window.h>
#include <msp/gl/animatedobject.h>
#include <msp/gl/animation.h>
#include <msp/gl/animationplayer.h>
#include <msp/gl/blend.h>
#include <msp/gl/camera.h>
+#include <msp/gl/device.h>
#include <msp/gl/directionallight.h>
#include <msp/gl/framebuffer.h>
#include <msp/gl/lighting.h>
Options opts;
Graphics::Display display;
Graphics::Window window;
- Graphics::GLContext gl_ctx;
+ GL::Device gl_device;
Input::Mouse mouse;
Resources resources;
GL::WindowView view;
Viewer::Viewer(int argc, char **argv):
opts(argc, argv),
window(display, opts.wnd_opts),
- gl_ctx(window, opts.gl_opts),
+ gl_device(window, opts.gl_opts),
mouse(window),
- view(window, gl_ctx),
+ view(window),
sequence(0),
renderable(0),
anim_object(0),