unpack_pixelmap.c revision e0e0c19eefceaf5d4ec40f9466b58a771f50e799
/* Copyright (c) 2001, Stanford University
* All rights reserved
*
* See the file LICENSE.txt for information on redistributing this software.
*/
#include "unpacker.h"
void crUnpackPixelMapfv( void )
{
GLenum map = READ_DATA( sizeof( int ) + 0, GLenum );
GLsizei mapsize = READ_DATA( sizeof( int ) + 4, GLsizei );
GLfloat *values = DATA_POINTER( sizeof( int ) + 8, GLfloat );
cr_unpackDispatch.PixelMapfv( map, mapsize, values );
INCR_VAR_PTR();
}
void crUnpackPixelMapuiv( void )
{
GLenum map = READ_DATA( sizeof( int ) + 0, GLenum );
GLsizei mapsize = READ_DATA( sizeof( int ) + 4, GLsizei );
GLuint *values = DATA_POINTER( sizeof( int ) + 8, GLuint );
cr_unpackDispatch.PixelMapuiv( map, mapsize, values );
INCR_VAR_PTR();
}
void crUnpackPixelMapusv( void )
{
GLenum map = READ_DATA( sizeof( int ) + 0, GLenum );
GLsizei mapsize = READ_DATA( sizeof( int ) + 4, GLsizei );
GLushort *values = DATA_POINTER( sizeof( int ) + 8, GLushort );
cr_unpackDispatch.PixelMapusv( map, mapsize, values );
INCR_VAR_PTR();
}