VirtualBox

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

最後變更 在這個檔案從60744是 15532,由 vboxsync 提交於 16 年 前

crOpenGL: export to OSE

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Id
檔案大小: 718 位元組
 
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
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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