X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=demos%2Fdesertpillars%2Fsource%2Fdesertpillars.cpp;h=dd801e29001e117836cc2cf81745392612b39901;hb=fb04f4ef9162f58f494cf4323cf3dc66b2f3d4ac;hp=53f0a86c72cee3c957b66c0f174a10036b983eab;hpb=0bdf0d7be74940dd60274608d577e58d86f76496;p=libs%2Fgl.git diff --git a/demos/desertpillars/source/desertpillars.cpp b/demos/desertpillars/source/desertpillars.cpp index 53f0a86c..dd801e29 100644 --- a/demos/desertpillars/source/desertpillars.cpp +++ b/demos/desertpillars/source/desertpillars.cpp @@ -4,7 +4,6 @@ #include #include #include -#include #include #include #include "desertpillars.h" @@ -23,10 +22,10 @@ DesertPillars::Options::Options() DesertPillars::DesertPillars(int, char **): window(display, opts.wnd_opts), - gl_ctx(window, opts.gl_opts), + gl_device(window, opts.gl_opts), keyboard(window), resources(&res_mgr), - view(window, gl_ctx), + view(window), camera(resources.get("Camera.camera")), lighting(resources.get("Desert.lightn")), sphere(resources.get("Sphere.object")),