summaryrefslogtreecommitdiffstats
path: root/src/glu/sgi
Commit message (Collapse)AuthorAgeFilesLines
* glu: Fix some compiler warnings in libtessNeil Roberts2010-06-308-13/+37
| | | | | | | | | | | | | | | | | | | | | | | | | When compiled with the more aggressive compiler warnings such as -Wshadow and -Wempty-body the libtess code gives a lot more warnings. This fixes the following issues: * The 'Swap' macro tries to combine multiple statements into one and then consume the trailing semicolon by using if(1){/*...*/}else. This gives warnings because the else part ends up with an empty statement. It also seems a bit dangerous because if the semicolon were missed then it would still be valid syntax but it would just ignore the following statement. This patch replaces it with the more common idiom do { /*...*/ } while(0). * 'free' was being used as a local variable name but this shadows the global function. This has been renamed to 'free_handle' * TRUE and FALSE were being unconditionally defined. Although this isn't currently a problem it seems better to guard them with #ifndef because it's quite common for them to be defined in other headers. https://bugs.freedesktop.org/show_bug.cgi?id=28845 Signed-off-by: Brian Paul <[email protected]>
* Grammar and spelling fixesJeff Smith2010-03-122-2/+2
| | | | | Signed-off-by: Jeff Smith <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* Revert "glu/sgi: Set freed pointer to NULL."Vinson Lee2010-02-251-1/+0
| | | | | | | This commit breaks flightgear fgfs. A null pointer is dereferenced in the function MakeVertex. This reverts commit 9be414f4b93c763e1aee8f634a13721ae5d95fcd.
* glu/sgi: Set freed pointer to NULL.Vinson Lee2010-02-251-0/+1
|
* glu/sgi: Add assert to check for null pointer dereference.Vinson Lee2010-02-151-0/+1
|
* glu/sgi: Move initialization of members to top of Curve constructor.Vinson Lee2010-02-141-8/+6
| | | | | | | This is a modification of commit 53d448657bd300ab68b2869b2fba76a627699baf. The members cpts and spts are possibly used as arguments later in the constructor.
* glu/sgi: Initialize members of class Curvelist.Vinson Lee2010-02-141-4/+5
|
* glu/sgi: Initialize members of class Curve.Vinson Lee2010-02-141-0/+8
|
* glu/sgi: Initialize member of class Pool.Vinson Lee2010-02-141-0/+3
|
* glu/sgi: Initialize members of class Curvelist.Vinson Lee2010-02-131-0/+2
|
* glu/sgi: Initialize member of class primStream.Vinson Lee2010-02-121-0/+2
|
* glu/sgi: Initialize members of class Arc.Vinson Lee2010-02-121-0/+6
|
* glu/sgi: Initialize member of class Bin.Vinson Lee2010-02-121-0/+1
|
* glu/sgi: Initialize member of class Uarray.Vinson Lee2010-02-101-0/+1
|
* glu/sgi: Remove unnecessary headers.Vinson Lee2010-01-2811-13/+0
|
* glu/sgi: Initialize members of class Mesher.Vinson Lee2010-01-101-0/+3
|
* glu/sgi: Initialize members of class Slicer.Vinson Lee2010-01-101-0/+4
|
* glu/sgi: Include missing header file.Vinson Lee2010-01-101-0/+2
|
* glu/sgi: Initialize members of class Renderhints.Vinson Lee2010-01-101-0/+4
|
* glu/sgi: Initialize members of class StoredVertex.Vinson Lee2010-01-091-1/+1
|
* glu/sgi: Include missing header file.Vinson Lee2010-01-091-0/+1
|
* glu/sgi: Initialize member of class O_pwlcurve.Vinson Lee2010-01-091-0/+2
|
* glu/sgi: Initialize members of struct O_curve.Vinson Lee2010-01-021-1/+1
|
* glu/sgi: Initialize members of struct O_surface.Vinson Lee2010-01-021-1/+1
|
* glu/sgi: Initialize member of struct O_trim.Vinson Lee2010-01-021-1/+1
|
* glu/sgi: Initialize member of struct Property.Vinson Lee2010-01-011-1/+1
|
* glu/sgi: Initialize member of struct Dlnode.Vinson Lee2010-01-011-0/+1
|
* glu/sgi: Initialize members of struct O_nurbscurve.Vinson Lee2010-01-011-1/+1
|
* glu/sgi: Initialize members of class Knotvector.Vinson Lee2010-01-011-0/+3
|
* glu/sgi: Initialize member of struct Property.Vinson Lee2010-01-011-1/+1
|
* glu/sgi: Initialize members of struct O_nurbssurface.Vinson Lee2009-12-291-1/+1
|
* glu/sgi: Silence warn_unused_result warnings.Vinson Lee2009-12-291-9/+19
|
* glu/sgi: Initialize member of struct GridVertex.Vinson Lee2009-12-291-1/+1
|
* glu/sgi: Initialize member variables in class Varray.Vinson Lee2009-12-291-0/+8
|
* glu/sgi: Initialize member of class monoChain.Vinson Lee2009-12-291-0/+1
|
* glu/sgi: Initialize members of class sampledLine.Vinson Lee2009-12-291-0/+3
|
* glu/sgi: Initialize members of class directedLine.Vinson Lee2009-12-291-0/+2
|
* glu/sgi: Fix include recursion.Vinson Lee2009-12-251-1/+0
| | | | arcsorter.h should not include itself.
* glu/sgi: Initialize variable in directedLine.Vinson Lee2009-12-231-1/+1
|
* glu/sgi: Silence compiler warnings.Vinson Lee2009-12-232-4/+6
|
* glu/sgi: Silence uninitialized variable warnings.Vinson Lee2009-12-222-4/+4
|
* glu/sgi: Fix memory leak in gluBuild2DMipmapLevelsCore.Vinson Lee2009-12-041-0/+1
| | | | (cherry picked from commit 808f0376607b0e2d31dfebc888fd8f1e737fed09)
* glu/sgi: Fix memory leak in gluBuild1DMipmapLevelsCore.Vinson Lee2009-12-041-0/+1
| | | | (cherry picked from commit 94bcb9f1a43f2ab3bdff09156e3ab5b1c115cbd8)
* glu/sgi: Fix memory leak in gluBuild2DMipmapLevelsCore.Vinson Lee2009-12-041-0/+1
| | | | (cherry picked from commit 0d89f3dc7ff3f89ba8d5d664253730485bca35e2)
* glu/sgi: Fix memory leak in gluBuild3DMipmapLevelsCore.Vinson Lee2009-12-041-0/+1
| | | | (cherry picked from commit f895abbd9777c4985aa40cf660c68f6d7333f0ec)
* glu/sgi: Fix memory leak in gluBuild3DMipmapLevelsCore.Vinson Lee2009-12-041-0/+1
| | | | (cherry picked from commit 326b66d724754ca97012501db1c7c62d7d41a457)
* glu/sgi: Fix memory leak in bitmapBuild2DMipmaps.Vinson Lee2009-12-041-0/+1
| | | | (cherry picked from commit 5b925b7daa566d799c4f50911a7fcca114131503)
* glu/sgi: Fix memory leak in gluScaleImage3D.Vinson Lee2009-12-041-0/+2
| | | | (cherry picked from commit b611f639b4bffdcca376293f7ce71af9f6bdbff3)
* glu/sgi: Fix memory leak in gluScaleImage.Vinson Lee2009-12-041-0/+2
| | | | (cherry picked from commit a9c540f5dedbf593f8038fdbc95eecb60826ab26)
* glu: Fix memory leak in __gl_meshMakeEdge.Vinson Lee2009-12-041-1/+6
| | | | (cherry picked from commit d3b4c99c703f70a9d0e715a97e52672f7f8fc980)