summaryrefslogtreecommitdiff
path: root/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_fog.c
blob: faf09f95954156814889873269978d3abbbe37b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* Copyright (c) 2001, Stanford University
 * All rights reserved
 *
 * See the file LICENSE.txt for information on redistributing this software.
 */

#include "unpacker.h"

void crUnpackFogfv( void  )
{
	GLenum pname = READ_DATA( sizeof( int ) + 0, GLenum );
	GLfloat *params = DATA_POINTER( sizeof( int ) + 4, GLfloat );

	cr_unpackDispatch.Fogfv( pname, params );
	INCR_VAR_PTR();
}

void crUnpackFogiv( void  )
{
	GLenum pname = READ_DATA( sizeof( int ) + 0, GLenum );
	GLint *params = DATA_POINTER( sizeof( int ) + 4, GLint );

	cr_unpackDispatch.Fogiv( pname, params );
	INCR_VAR_PTR();
}