EMI: Add support for clamping sprite textures and repeating other textures.

This commit is contained in:
Joseph Jezak 2014-06-17 21:58:21 -04:00
parent 29ddd3b3e9
commit df3d63fc24
18 changed files with 40 additions and 28 deletions

View file

@ -125,7 +125,7 @@ void SpecialtyMaterial::create(const char *data, int width, int height) {
_texture->_height = height;
_texture->_bpp = 4;
_texture->_colorFormat = BM_RGBA;
g_driver->createMaterial(_texture, data, nullptr);
g_driver->createMaterial(_texture, data, nullptr, false);
}
Math::Matrix4 GfxBase::makeLookMatrix(const Math::Vector3d& pos, const Math::Vector3d& interest, const Math::Vector3d& up) {