mirror of https://github.com/bjornbytes/lovr.git
Fix for int buffer attribute type;
This commit is contained in:
parent
7b81618198
commit
4b177a6a21
|
@ -519,7 +519,7 @@ int l_lovrGraphicsNewBuffer(lua_State* L) {
|
|||
}
|
||||
|
||||
*((int*) v) = value;
|
||||
v = (int*) v + sizeof(int);
|
||||
v = (char*) v + sizeof(int);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue