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 |
|
---|
9 | void crUnpackMaterialfv( void )
|
---|
10 | {
|
---|
11 | GLenum face = READ_DATA( sizeof( int ) + 0, GLenum );
|
---|
12 | GLenum pname = READ_DATA( sizeof( int ) + 4, GLenum );
|
---|
13 | GLfloat *params = DATA_POINTER( sizeof( int ) + 8, GLfloat );
|
---|
14 |
|
---|
15 | cr_unpackDispatch.Materialfv( face, pname, params );
|
---|
16 | INCR_VAR_PTR();
|
---|
17 | }
|
---|
18 |
|
---|
19 | void crUnpackMaterialiv( void )
|
---|
20 | {
|
---|
21 | GLenum face = READ_DATA( sizeof( int ) + 0, GLenum );
|
---|
22 | GLenum pname = READ_DATA( sizeof( int ) + 4, GLenum );
|
---|
23 | GLint *params = DATA_POINTER( sizeof( int ) + 8, GLint );
|
---|
24 |
|
---|
25 | cr_unpackDispatch.Materialiv( face, pname, params );
|
---|
26 | INCR_VAR_PTR();
|
---|
27 | }
|
---|