]> git.tdb.fi Git - libs/gl.git/blobdiff - demos/desertpillars.cpp
Add functions for setting arrays of 2x2 and 3x3 matrix uniforms
[libs/gl.git] / demos / desertpillars.cpp
index be197828a6ed97c53326e9449867d233010af956..cb06cd000bc05f32f3cb446133c08a555362e4fb 100644 (file)
@@ -30,7 +30,7 @@
 #include <msp/input/keyboard.h>
 #include <msp/input/keys.h>
 #include <msp/time/timestamp.h>
-#include <msp/time/units.h>
+#include <msp/time/timedelta.h>
 #include <msp/time/utils.h>
 
 using namespace std;
@@ -577,7 +577,7 @@ void DesertPillars::create_ground()
        features.lighting = true;
        features.shadow = true;
        features.texture = true;
-       features.normalmap = true;
+       features.normal_map = true;
        features.custom = ground_variables;
        GL::ProgramBuilder(features).add_shaders(ground_shprog);
        ground_shprog.bind_attribute(7, "ground_type");