diff options
Diffstat (limited to 'src/VBox/HostServices/SharedOpenGL/unpacker/unpack_materials.c')
-rw-r--r-- | src/VBox/HostServices/SharedOpenGL/unpacker/unpack_materials.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_materials.c b/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_materials.c new file mode 100644 index 00000000..f5c03991 --- /dev/null +++ b/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_materials.c @@ -0,0 +1,27 @@ +/* Copyright (c) 2001, Stanford University + * All rights reserved + * + * See the file LICENSE.txt for information on redistributing this software. + */ + +#include "unpacker.h" + +void crUnpackMaterialfv( void ) +{ + GLenum face = READ_DATA( sizeof( int ) + 0, GLenum ); + GLenum pname = READ_DATA( sizeof( int ) + 4, GLenum ); + GLfloat *params = DATA_POINTER( sizeof( int ) + 8, GLfloat ); + + cr_unpackDispatch.Materialfv( face, pname, params ); + INCR_VAR_PTR(); +} + +void crUnpackMaterialiv( void ) +{ + GLenum face = READ_DATA( sizeof( int ) + 0, GLenum ); + GLenum pname = READ_DATA( sizeof( int ) + 4, GLenum ); + GLint *params = DATA_POINTER( sizeof( int ) + 8, GLint ); + + cr_unpackDispatch.Materialiv( face, pname, params ); + INCR_VAR_PTR(); +} |