1
0

MacOS SoftwareDriver Window and warnings

Xcode 12.4 MacOS 10.15.7

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6367 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
engineer_apple
2022-05-01 02:43:12 +00:00
parent 3285a0147a
commit 61bc7d3a22
51 changed files with 433 additions and 331 deletions

View File

@@ -1743,12 +1743,14 @@ f32 MipmapLevel(const sVec2& uv, const sVec2& textureSize)
#define MAT_TEXTURE(tex) ( (video::CSoftwareTexture2*) Material.org.TextureLayer[tex].Texture )
//! clamp(value,0,1)
#if 0
static inline float clampfuv(const float v, const float b)
{
// b = 1.f - (2.f * (1/width))
return v < b ? b : v > 1.f - b ? 1.f - b : v;
//return v < b ? b : v > 1.f-b ? 1.f-b : v;
}
#endif
static inline float clampf01(const float v)
{