Merging r5975 through r6036 from trunk to ogl-es branch.
GLES drivers adapted, but only did make compile-tests. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6038 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
17
tests/exports.cpp
Normal file
17
tests/exports.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
// 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;
|
||||
}
|
Reference in New Issue
Block a user