Last change
on this file since 78375 was 78375, checked in by vboxsync, 6 years ago |
Additions/common/crOpengl,GuestHost/OpenGL,HostServices/SharedOpenGL: Eliminate all global variables from the state tracker library (state_tracker) in preparation of the SPU DLL merging, bugref:9435
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Id
|
File size:
896 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:*pState->diff_api.PolygonStipple ((GLubyte *) to->stipple);
|
---|
17 | +:stipple:*int iStripple;
|
---|
18 | +:stipple:*pState->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.