VirtualBox

source: vbox/trunk/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_lights.c@ 43031

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

crOpenGL: export to OSE

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Id
檔案大小: 1.2 KB
 
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
9void crUnpackLightfv( void )
10{
11 GLenum light = READ_DATA( sizeof( int ) + 0, GLenum );
12 GLenum pname = READ_DATA( sizeof( int ) + 4, GLenum );
13 GLfloat *params = DATA_POINTER( sizeof( int ) + 8, GLfloat );
14
15 cr_unpackDispatch.Lightfv( light, pname, params );
16 INCR_VAR_PTR();
17}
18
19void crUnpackLightiv( void )
20{
21 GLenum light = READ_DATA( sizeof( int ) + 0, GLenum );
22 GLenum pname = READ_DATA( sizeof( int ) + 4, GLenum );
23 GLint *params = DATA_POINTER( sizeof( int ) + 8, GLint );
24
25 cr_unpackDispatch.Lightiv( light, pname, params );
26 INCR_VAR_PTR();
27}
28
29void crUnpackLightModelfv( void )
30{
31 GLenum pname = READ_DATA( sizeof( int ) + 0, GLenum );
32 GLfloat *params = DATA_POINTER( sizeof( int ) + 4, GLfloat );
33
34 cr_unpackDispatch.LightModelfv( pname, params );
35 INCR_VAR_PTR();
36}
37
38void crUnpackLightModeliv( void )
39{
40 GLenum pname = READ_DATA( sizeof( int ) + 0, GLenum );
41 GLint *params = DATA_POINTER( sizeof( int ) + 4, GLint );
42
43 cr_unpackDispatch.LightModeliv( pname, params );
44 INCR_VAR_PTR();
45}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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