diff options
-rw-r--r-- | src/demos/vao_demo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/vao_demo.c b/src/demos/vao_demo.c index 3344b332..95a9e59e 100644 --- a/src/demos/vao_demo.c +++ b/src/demos/vao_demo.c @@ -286,8 +286,8 @@ static void Init( void ) glEnableClientState( GL_COLOR_ARRAY ); glBindVertexArrayAPPLE( 0 ); - glVertexPointer( 4, GL_FLOAT, sizeof(GLfloat) * 4, (void *) 0xDEADBEEF ); - glColorPointer( 4, GL_FLOAT, sizeof(GLfloat) * 4, (void *) 0xBADDC0DE ); + glVertexPointer( 4, GL_FLOAT, sizeof(GLfloat) * 4, (void *) (uintptr_t) 0xDEADBEEF ); + glColorPointer( 4, GL_FLOAT, sizeof(GLfloat) * 4, (void *) (uintptr_t) 0xBADDC0DE ); } |