aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/Irrlicht/COpenGLDriver.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Irrlicht/COpenGLDriver.cpp b/source/Irrlicht/COpenGLDriver.cpp
index b0f122b..c213283 100644
--- a/source/Irrlicht/COpenGLDriver.cpp
+++ b/source/Irrlicht/COpenGLDriver.cpp
@@ -746,10 +746,10 @@ IRenderTarget* COpenGLDriver::addRenderTarget()
}
-// small helper function to create vertex buffer object adress offsets
-static inline u8* buffer_offset(const long offset)
+// small helper function to create vertex buffer object address offsets
+static inline const GLvoid * buffer_offset(const long offset)
{
- return ((u8*)0 + offset);
+ return (const GLvoid *)offset;
}