Last change
on this file since 69390 was 69390, checked in by vboxsync, 7 years ago |
HostServices/SharedOpenGL: scm updates
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Id Revision
|
File size:
1.1 KB
|
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 "server_dispatch.h"
|
---|
10 | #include "server.h"
|
---|
11 | #include "cr_string.h"
|
---|
12 |
|
---|
13 | const GLubyte * SERVER_DISPATCH_APIENTRY crServerDispatchGetString( GLenum name )
|
---|
14 | {
|
---|
15 | const GLubyte *retval;
|
---|
16 | retval = cr_server.head_spu->dispatch_table.GetString( name );
|
---|
17 | if (retval)
|
---|
18 | crServerReturnValue( retval, crStrlen((char *)retval) + 1 );
|
---|
19 | else
|
---|
20 | crServerReturnValue( "", 1 ); /* empty string */
|
---|
21 | return retval; /* WILL PROBABLY BE IGNORED */
|
---|
22 | }
|
---|
23 |
|
---|
24 | void SERVER_DISPATCH_APIENTRY crServerDispatchGetProgramStringNV( GLuint id, GLenum pname, GLubyte * program )
|
---|
25 | {
|
---|
26 | crError( "glGetProgramStringNV isn't *ever* allowed to be on the wire!" );
|
---|
27 | (void) id;
|
---|
28 | (void) pname;
|
---|
29 | (void) program;
|
---|
30 | }
|
---|
31 |
|
---|
32 | void SERVER_DISPATCH_APIENTRY crServerDispatchGetProgramStringARB( GLuint id, GLenum pname, void * program )
|
---|
33 | {
|
---|
34 | crError( "glGetProgramStringARB isn't *ever* allowed to be on the wire!" );
|
---|
35 | (void) id;
|
---|
36 | (void) pname;
|
---|
37 | (void) program;
|
---|
38 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.