/* Copyright (c) 2001, Stanford University
* All rights reserved
*
* See the file LICENSE.txt for information on redistributing this software.
*/
#include "packer.h"
#include "cr_error.h"
#include "cr_string.h"
#include "cr_version.h"
void PACK_APIENTRY
void * return_value, int * writeback )
{
(void)writeback;
(void)return_value;
(void)target;
(void)access;
crWarning("Can't pack MapBufferARB command!");
}
void PACK_APIENTRY
{
(void)target;
(void)return_value;
(void)writeback;
crWarning("Can't pack UnmapBufferARB command!");
}
void PACK_APIENTRY
{
int packet_length;
packet_length = sizeof(GLenum)
/*Note: it's valid to pass a NULL pointer here, which tells GPU drivers to allocate memory for the VBO*/
if (data)
crPackFree( start_ptr );
}
void PACK_APIENTRY
{
int packet_length;
if (!data)
return;
packet_length = sizeof(GLenum)
}
void PACK_APIENTRY
crPackGetBufferSubDataARB( GLenum target, GLintptrARB offset, GLsizeiptrARB size, void * data, int * writeback )
{
unsigned char *data_ptr;
(void) pc;
}
void PACK_APIENTRY
{
unsigned char *data_ptr;
if (!buffers)
return;
crPackFree( data_ptr );
}