VirtualBox

source: vbox/trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_occlude.c@ 46173

Last change on this file since 46173 was 15532, checked in by vboxsync, 16 years ago

crOpenGL: export to OSE

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 613 bytes
Line 
1/* Copyright (c) 2001, Stanford University
2 * All rights reserved
3 *
4 * See the file LICENSE.txt for information on redistributing this software.
5 */
6
7#include "chromium.h"
8#include "cr_error.h"
9#include "cr_mem.h"
10#include "server_dispatch.h"
11#include "server.h"
12
13void SERVER_DISPATCH_APIENTRY
14crServerDispatchGenQueriesARB(GLsizei n, GLuint *queries)
15{
16 GLuint *local_queries = (GLuint *) crAlloc( n * sizeof(*local_queries) );
17 (void) queries;
18 cr_server.head_spu->dispatch_table.GenQueriesARB( n, local_queries );
19 crServerReturnValue( local_queries, n * sizeof(*local_queries) );
20 crFree( local_queries );
21}
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette