pack_bounds.c revision a0d1e40cc56a54314af0a1a4b5e13905ffd78393
0fdda69ce3627d501e4bb3103765f676bb1ab061Laszlo Hordos/* Copyright (c) 2001, Stanford University
0fdda69ce3627d501e4bb3103765f676bb1ab061Laszlo Hordos * All rights reserved
088fa5d9eaa83bf4b3d59a64c0519f42a143aaa9Alin Brici * See the file LICENSE.txt for information on redistributing this software.
0fdda69ce3627d501e4bb3103765f676bb1ab061Laszlo Hordosvoid PACK_APIENTRY crPackBoundsInfoCR( const CRrecti *bounds, const GLbyte *payload, GLint len, GLint num_opcodes )
0fdda69ce3627d501e4bb3103765f676bb1ab061Laszlo Hordos /* Don't get the buffered_ptr here because we've already
0fdda69ce3627d501e4bb3103765f676bb1ab061Laszlo Hordos * verified that there's enough space for everything. */
0fdda69ce3627d501e4bb3103765f676bb1ab061Laszlo Hordos unsigned char *data_ptr = pc->buffer.data_current;
0fdda69ce3627d501e4bb3103765f676bb1ab061Laszlo Hordos /* skip the BOUNDSINFO */
f277d0ee6abc01fba581c836571dc390ac349de8Brendan Miller /* put in padding opcodes (deliberately bogus) */
0fdda69ce3627d501e4bb3103765f676bb1ab061Laszlo Hordos default: break;