mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-04-24 04:53:28 -04:00
Fixing texture flags when forcing point sampling.
This commit is contained in:
parent
65e31f890d
commit
956622e360
1 changed files with 2 additions and 2 deletions
|
@ -4437,11 +4437,11 @@ namespace bgfx { namespace gl
|
|||
&& !s_textureFilter[m_textureFormat])
|
||||
{
|
||||
// Force point sampling when texture format doesn't support linear sampling.
|
||||
_flags &= 0
|
||||
_flags &= ~(0
|
||||
| BGFX_TEXTURE_MIN_MASK
|
||||
| BGFX_TEXTURE_MAG_MASK
|
||||
| BGFX_TEXTURE_MIP_MASK
|
||||
;
|
||||
);
|
||||
_flags |= 0
|
||||
| BGFX_TEXTURE_MIN_POINT
|
||||
| BGFX_TEXTURE_MAG_POINT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue