Separating sampler flags from texture creation flags.

This commit is contained in:
Branimir Karadžić
2018-08-20 17:12:26 -07:00
parent 2a3fb9c0f9
commit 4433b5bcdc
27 changed files with 249 additions and 243 deletions

View File

@@ -81,7 +81,7 @@ public:
m_textureStipple = bgfx::createTexture2D(8, 4, false, 1
, bgfx::TextureFormat::R8
, BGFX_TEXTURE_MAG_POINT|BGFX_TEXTURE_MIN_POINT
, BGFX_SAMPLER_MAG_POINT|BGFX_SAMPLER_MIN_POINT
, stippleTex
);