stk-code_catmod/lib/irrlicht/tests/exports.cpp
hikerstk 974deca5e1 Added our own irrlicht version - not used atm.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11846 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-01 02:00:02 +00:00

18 lines
579 B
C++

// Copyright (C) 2008-2012 Colin MacDonald
// No rights reserved: this software is in the public domain.
#include "testUtils.h"
//! Tests that symbols exported from Irrlicht can be used by the user app.
bool exports(void)
{
logTestString("Checking whether IdentityMatrix is exported.\n");
irr::core::matrix4 identity = irr::core::IdentityMatrix;
(void)identity; // Satisfy the compiler that it's used.
irr::video::SMaterial id = irr::video::IdentityMaterial;
(void)id; // Satisfy the compiler that it's used.
// If it built, we're done.
return true;
}