source: vendor/trunk/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_clipplane.c@ 3

Last change on this file since 3 was 3, checked in by dmik, 10 years ago

vendor: Import VirtualBox OSE version 5.0.0 (r56895) from vendor.

Command: svn merge http://www.virtualbox.org/svn/vbox -r 0:56895 .

  • 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.