Last change
on this file since 69498 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:
660 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 "unpacker.h"
|
---|
8 | #include "state/cr_statetypes.h"
|
---|
9 |
|
---|
10 | void crUnpackBoundsInfoCR( void )
|
---|
11 | {
|
---|
12 | CRrecti bounds;
|
---|
13 | GLint len;
|
---|
14 | GLuint num_opcodes;
|
---|
15 | GLbyte *payload;
|
---|
16 |
|
---|
17 | len = READ_DATA( 0, GLint );
|
---|
18 | bounds.x1 = READ_DATA( 4, GLint );
|
---|
19 | bounds.y1 = READ_DATA( 8, GLint );
|
---|
20 | bounds.x2 = READ_DATA( 12, GLint );
|
---|
21 | bounds.y2 = READ_DATA( 16, GLint );
|
---|
22 | num_opcodes = READ_DATA( 20, GLuint );
|
---|
23 | payload = DATA_POINTER( 24, GLbyte );
|
---|
24 |
|
---|
25 | cr_unpackDispatch.BoundsInfoCR( &bounds, payload, len, num_opcodes );
|
---|
26 | INCR_VAR_PTR();
|
---|
27 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.