VirtualBox

source: vbox/trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_polygon.txt@ 71997

最後變更 在這個檔案從71997是 63199,由 vboxsync 提交於 8 年 前

GuestHost/OpenGL: warnings (gcc).

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Id
檔案大小: 880 位元組
 
1# Copyright (c) 2001, Stanford University
2# All rights reserved.
3#
4# See the file LICENSE.txt for information on redistributing this software.
5:enable:polygonSmooth:GL_POLYGON_SMOOTH
6:enable:polygonOffsetFill:GL_POLYGON_OFFSET_FILL
7:enable:polygonOffsetLine:GL_POLYGON_OFFSET_LINE
8:enable:polygonOffsetPoint:GL_POLYGON_OFFSET_POINT
9:enable:polygonStipple:GL_POLYGON_STIPPLE
10:enable:cullFace:GL_CULL_FACE
11:offset:offsetFactor,offsetUnits:PolygonOffset
12:mode:frontFace:FrontFace
13:mode:cullFaceMode:CullFace
14:mode:backMode:PolygonMode,GL_BACK
15:mode:frontMode:PolygonMode,GL_FRONT
16-:stipple:stipple:*diff_api.PolygonStipple ((GLubyte *) to->stipple);
17+:stipple:*int iStripple;
18+:stipple:*diff_api.PolygonStipple ((GLubyte *) to->stipple);
19+:stipple:*for (iStripple=0; iStripple<32; iStripple++)
20+:stipple:*{
21+:stipple:* from->stipple[iStripple] = to->stipple[iStripple];
22+:stipple:*}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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