VirtualBox

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

Last change on this file since 71930 was 63199, checked in by vboxsync, 8 years ago

GuestHost/OpenGL: warnings (gcc).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 880 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: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:*}
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