diff options
| author | Vinson Lee <vlee@vmware.com> | 2009-10-30 09:39:51 -0600 | 
|---|---|---|
| committer | Brian Paul <brianp@vmware.com> | 2009-10-30 09:40:04 -0600 | 
| commit | a8ed066858f12290239ddc9165b7c0734ccc0247 (patch) | |
| tree | d9040cad6af0b5e2bec41cc9e36a9ed6d32fc273 | |
| parent | 5f7d5d3ea3932ef6028b21bb22d8d28dbdd9fa9f (diff) | |
progs/tests: fix MSVC build.
Signed-off-by: Brian Paul <brianp@vmware.com>
| -rw-r--r-- | progs/tests/vao-01.c | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/progs/tests/vao-01.c b/progs/tests/vao-01.c index 117fae8bd9..e4a89cb19d 100644 --- a/progs/tests/vao-01.c +++ b/progs/tests/vao-01.c @@ -124,10 +124,10 @@ static void Init( void )        exit(2);     } -   bind_vertex_array = glutGetProcAddress( "glBindVertexArrayAPPLE" ); -   gen_vertex_arrays = glutGetProcAddress( "glGenVertexArraysAPPLE" ); -   delete_vertex_arrays = glutGetProcAddress( "glDeleteVertexArraysAPPLE" ); -   is_vertex_array = glutGetProcAddress( "glIsVertexArrayAPPLE" ); +   bind_vertex_array = (PFNGLBINDVERTEXARRAYAPPLEPROC) glutGetProcAddress( "glBindVertexArrayAPPLE" ); +   gen_vertex_arrays = (PFNGLGENVERTEXARRAYSAPPLEPROC) glutGetProcAddress( "glGenVertexArraysAPPLE" ); +   delete_vertex_arrays = (PFNGLDELETEVERTEXARRAYSAPPLEPROC) glutGetProcAddress( "glDeleteVertexArraysAPPLE" ); +   is_vertex_array = (PFNGLISVERTEXARRAYAPPLEPROC) glutGetProcAddress( "glIsVertexArrayAPPLE" );     (*gen_vertex_arrays)( 1, & obj ); | 
