Browse Source

Fixed uniform type.

Branimir Karadžić 10 years ago
parent
commit
11d2aa855f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bgfx_p.h

+ 1 - 1
src/bgfx_p.h

@@ -2615,7 +2615,7 @@ namespace bgfx
 
 
 					uint8_t type;
 					uint8_t type;
 					bx::read(&reader, type);
 					bx::read(&reader, type);
-					type &= ~BGFX_UNIFORM_FRAGMENTBIT;
+					type &= ~BGFX_UNIFORM_MASK;
 
 
 					uint8_t num;
 					uint8_t num;
 					bx::read(&reader, num);
 					bx::read(&reader, num);