summaryrefslogtreecommitdiff
path: root/test/mat4stack-01.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/mat4stack-01.cpp')
-rw-r--r--test/mat4stack-01.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/mat4stack-01.cpp b/test/mat4stack-01.cpp
index 1734666..24e75ed 100644
--- a/test/mat4stack-01.cpp
+++ b/test/mat4stack-01.cpp
@@ -20,8 +20,7 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
-
-#include <glu3.h>
+#include "../include/glu3.h"
#include <cmath>
#include <cassert>
@@ -32,7 +31,7 @@ int main(int argc, char **argv)
GLUmat4Stack s;
- GLUmat4(s) = gluIdentityMatrix;
+ s.top() = gluIdentityMatrix;
s.push();
s.pop();