Shader:send: Add a missing break;

opps
This commit is contained in:
bjorn 2018-09-05 10:13:04 -07:00
parent 8a7054e793
commit 924eb5fa0a
1 changed files with 1 additions and 0 deletions

View File

@ -108,6 +108,7 @@ int luax_checkuniform(lua_State* L, int index, const Uniform* uniform, void* des
case UNIFORM_FLOAT:
case UNIFORM_MATRIX:
*((float*) dest + i * components + j) = luaL_checknumber(L, -1);
break;
case UNIFORM_INT:
*((int*) dest + i * components + j) = luaL_checkinteger(L, -1);