VirtualBox

source: vbox/trunk/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_writeback.c@ 63942

Last change on this file since 63942 was 15532, checked in by vboxsync, 16 years ago

crOpenGL: export to OSE

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 718 bytes
Line 
1/* Copyright (c) 2001, Stanford University
2 * All rights reserved
3 *
4 * See the file LICENSE.txt for information on redistributing this software.
5 */
6
7#include "unpacker.h"
8#include "cr_error.h"
9#include <stdio.h>
10
11CRNetworkPointer *return_ptr = NULL, *writeback_ptr = NULL;
12
13void crUnpackSetReturnPointer( CRNetworkPointer *ret )
14{
15 return_ptr = ret;
16}
17
18void crUnpackSetWritebackPointer( CRNetworkPointer *wri )
19{
20 writeback_ptr = wri;
21}
22
23void crUnpackExtendWriteback(void)
24{
25 /* This copies the unpack buffer's CRNetworkPointer to writeback_ptr */
26 SET_WRITEBACK_PTR( 8 );
27 cr_unpackDispatch.Writeback( NULL );
28}
29
30#if 0
31void crUnpackWriteback(void)
32{
33 crError( "crUnpackWriteback should never be called" );
34}
35#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette