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 crUnpackExtendCombinerParameterfvNV( void )
|
---|
10 | {
|
---|
11 | GLenum pname = READ_DATA( sizeof( int ) + 4, GLenum );
|
---|
12 | GLfloat *params = DATA_POINTER( sizeof( int ) + 8, GLfloat );
|
---|
13 |
|
---|
14 | cr_unpackDispatch.CombinerParameterfvNV( pname, params );
|
---|
15 | /* Don't call INCR_VAR_PTR(); - it's done in crUnpackExtend() */
|
---|
16 | }
|
---|
17 |
|
---|
18 | void crUnpackExtendCombinerParameterivNV( void )
|
---|
19 | {
|
---|
20 | GLenum pname = READ_DATA( sizeof( int ) + 4, GLenum );
|
---|
21 | GLint *params = DATA_POINTER( sizeof( int ) + 8, GLint );
|
---|
22 |
|
---|
23 | cr_unpackDispatch.CombinerParameterivNV( pname, params );
|
---|
24 | /* Don't call INCR_VAR_PTR(); - it's done in crUnpackExtend() */
|
---|
25 | }
|
---|
26 |
|
---|
27 | void crUnpackExtendCombinerStageParameterfvNV( void )
|
---|
28 | {
|
---|
29 | GLenum stage = READ_DATA( sizeof( int ) + 4, GLenum );
|
---|
30 | GLenum pname = READ_DATA( sizeof( int ) + 8, GLenum );
|
---|
31 | GLfloat *params = DATA_POINTER( sizeof( int ) + 12, GLfloat );
|
---|
32 |
|
---|
33 | cr_unpackDispatch.CombinerStageParameterfvNV( stage, pname, params );
|
---|
34 | /* Don't call INCR_VAR_PTR(); - it's done in crUnpackExtend() */
|
---|
35 | }
|
---|