Last change
on this file since 35650 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 |
|
---|
11 | CRNetworkPointer *return_ptr = NULL, *writeback_ptr = NULL;
|
---|
12 |
|
---|
13 | void crUnpackSetReturnPointer( CRNetworkPointer *ret )
|
---|
14 | {
|
---|
15 | return_ptr = ret;
|
---|
16 | }
|
---|
17 |
|
---|
18 | void crUnpackSetWritebackPointer( CRNetworkPointer *wri )
|
---|
19 | {
|
---|
20 | writeback_ptr = wri;
|
---|
21 | }
|
---|
22 |
|
---|
23 | void 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
|
---|
31 | void crUnpackWriteback(void)
|
---|
32 | {
|
---|
33 | crError( "crUnpackWriteback should never be called" );
|
---|
34 | }
|
---|
35 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.