diff options
author | Vinson Lee <vlee@vmware.com> | 2009-10-30 15:02:21 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-10-30 15:30:13 -0600 |
commit | 9c3197ef0abc3bf521358ea0c7af0fc6979c82b3 (patch) | |
tree | c9afd58114f44108e96f0f5a45cd7e03618ab0dd /progs/tests | |
parent | cb132406ded760a622513cd1ab86bf83bb945671 (diff) | |
download | external_mesa3d-9c3197ef0abc3bf521358ea0c7af0fc6979c82b3.zip external_mesa3d-9c3197ef0abc3bf521358ea0c7af0fc6979c82b3.tar.gz external_mesa3d-9c3197ef0abc3bf521358ea0c7af0fc6979c82b3.tar.bz2 |
prog/tests: Fix MSVC build.
Signed-off-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'progs/tests')
-rw-r--r-- | progs/tests/vao-02.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/progs/tests/vao-02.c b/progs/tests/vao-02.c index 7764ed5..9f7f5c2 100644 --- a/progs/tests/vao-02.c +++ b/progs/tests/vao-02.c @@ -125,10 +125,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 ); |