forked from Mirrorlandia_minetest/irrlicht
Avoid warning in VS 2022
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6460 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
parent
c2dd664fc6
commit
5e01152f56
@ -725,7 +725,7 @@ IRenderTarget* COpenGLDriver::addRenderTarget()
|
|||||||
|
|
||||||
|
|
||||||
// small helper function to create vertex buffer object address offsets
|
// small helper function to create vertex buffer object address offsets
|
||||||
static inline const GLvoid * buffer_offset(const long offset)
|
static inline const GLvoid * buffer_offset(const size_t offset)
|
||||||
{
|
{
|
||||||
return (const GLvoid *)offset;
|
return (const GLvoid *)offset;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user