From 11d2aa855f382d443d0fec692ff736795c25ab3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Tue, 1 Sep 2015 16:48:01 -0700 Subject: [PATCH] Fixed uniform type. --- src/bgfx_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bgfx_p.h b/src/bgfx_p.h index 8ccf1f1d..18b7e50f 100644 --- a/src/bgfx_p.h +++ b/src/bgfx_p.h @@ -2615,7 +2615,7 @@ namespace bgfx uint8_t type; bx::read(&reader, type); - type &= ~BGFX_UNIFORM_FRAGMENTBIT; + type &= ~BGFX_UNIFORM_MASK; uint8_t num; bx::read(&reader, num);