VirtualBox

source: vbox/trunk/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_clipplane.c@ 16276

Last change on this file since 16276 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: 498 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_mem.h"
9#include "unpack_extend.h"
10
11void crUnpackClipPlane( void )
12{
13 GLenum plane = READ_DATA( 0, GLenum );
14 GLdouble equation[4];
15 crMemcpy( equation, DATA_POINTER( 4, GLdouble ), sizeof(equation) );
16
17 cr_unpackDispatch.ClipPlane( plane, equation );
18 INCR_DATA_PTR( sizeof( GLenum ) + 4*sizeof( GLdouble ));
19}
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