EMI: Add support for clamping sprite textures and repeating other textures.
This commit is contained in:
parent
29ddd3b3e9
commit
df3d63fc24
18 changed files with 40 additions and 28 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue