Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / libs / glu / glu-9.0.0-aros.diff
blob4d6ad1b02ef69bcc51618ea8a7cfa9de14594bfa
1 diff -ruN glu-9.0.0/src/libnurbs/interface/insurfeval.cc glu-9.0.0.aros/src/libnurbs/interface/insurfeval.cc
2 --- glu-9.0.0/src/libnurbs/interface/insurfeval.cc 2012-09-14 20:48:54.000000000 -0400
3 +++ glu-9.0.0.aros/src/libnurbs/interface/insurfeval.cc 2015-04-19 17:13:37.212360145 -0400
4 @@ -1344,6 +1344,8 @@
5 free(lowerXYZ);
6 free(upperNormal);
7 free(lowerNormal);
9 + (void)leftMostV; // Unused
12 /*triangulate a strip bounded by two lines which are parallel to V-axis
13 @@ -1534,6 +1536,8 @@
14 free(rightXYZ);
15 free(leftNormal);
16 free(rightNormal);
18 + (void)botMostV; // Unused
21 /*-----------------------begin evalMachine-------------------*/
22 diff -ruN glu-9.0.0/src/libnurbs/nurbtess/sampleCompTop.cc glu-9.0.0.aros/src/libnurbs/nurbtess/sampleCompTop.cc
23 --- glu-9.0.0/src/libnurbs/nurbtess/sampleCompTop.cc 2012-09-14 20:48:54.000000000 -0400
24 +++ glu-9.0.0.aros/src/libnurbs/nurbtess/sampleCompTop.cc 2015-04-19 17:14:42.942805024 -0400
25 @@ -511,26 +511,6 @@
27 else if(up_rightCornerWhere != 2)
29 - Real* tempTop;
30 - Int tempLeftStart;
31 - if(up_rightCornerWhere == 1)
32 - {
33 - tempLeftStart = leftStartIndex;
34 - tempTop = topVertex;
35 - }
36 - else //0
37 - {
38 - tempLeftStart = up_rightCornerIndex+1;
39 - tempTop = leftChain->getVertex(up_rightCornerIndex);
40 - }
41 -/*
42 - sampleTopLeftWithGridLine(tempTop, leftChain, tempLeftStart, up_leftCornerIndex,
43 - leftGridChain->getGrid(),
44 - leftGridChain->getVlineIndex(gridIndex1),
45 - leftGridChain->getUlineIndex(gridIndex1),
46 - rightGridChain->getUlineIndex(gridIndex1),
47 - pStream);
48 -*/
49 sampleCompTopSimple(topVertex,
50 leftChain,
51 leftStartIndex,