blob: 1d0b4e6e54a9b71afd95e7a875738b10d1ec3b68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/* Copyright (c) 2001, Stanford University
* All rights reserved
*
* See the file LICENSE.txt for information on redistributing this software.
*/
#include "chromium.h"
#include "cr_error.h"
#include "cr_mem.h"
#include "server_dispatch.h"
#include "server.h"
void SERVER_DISPATCH_APIENTRY
crServerDispatchGenQueriesARB(GLsizei n, GLuint *queries)
{
GLuint *local_queries = (GLuint *) crAlloc( n * sizeof(*local_queries) );
(void) queries;
cr_server.head_spu->dispatch_table.GenQueriesARB( n, local_queries );
crServerReturnValue( local_queries, n * sizeof(*local_queries) );
crFree( local_queries );
}
|