summaryrefslogtreecommitdiff
path: root/src/glu
AgeCommit message (Collapse)Author
2010-06-30glu: Fix some compiler warnings in libtessNeil Roberts
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 <brianp@vmware.com>
2010-03-12Grammar and spelling fixesJeff Smith
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-02-25Remove unused mini and mesa glu subdirectoriesKristian Høgsberg
2010-02-25Revert "glu/sgi: Set freed pointer to NULL."Vinson Lee
This commit breaks flightgear fgfs. A null pointer is dereferenced in the function MakeVertex. This reverts commit 9be414f4b93c763e1aee8f634a13721ae5d95fcd.
2010-02-25glu/sgi: Set freed pointer to NULL.Vinson Lee
2010-02-15glu/sgi: Add assert to check for null pointer dereference.Vinson Lee
2010-02-14glu/sgi: Move initialization of members to top of Curve constructor.Vinson Lee
This is a modification of commit 53d448657bd300ab68b2869b2fba76a627699baf. The members cpts and spts are possibly used as arguments later in the constructor.
2010-02-14glu/sgi: Initialize members of class Curvelist.Vinson Lee
2010-02-14glu/sgi: Initialize members of class Curve.Vinson Lee
2010-02-14glu/sgi: Initialize member of class Pool.Vinson Lee
2010-02-14src/glu/mesa: fix mem leak (bug 26559)Brian Paul
2010-02-14src/glu/mini: fix mem leak (bug 26559)Brian Paul
2010-02-13glu/sgi: Initialize members of class Curvelist.Vinson Lee
2010-02-12glu/sgi: Initialize member of class primStream.Vinson Lee
2010-02-12glu/sgi: Initialize members of class Arc.Vinson Lee
2010-02-12glu/sgi: Initialize member of class Bin.Vinson Lee
2010-02-10glu/sgi: Initialize member of class Uarray.Vinson Lee
2010-01-28glu/sgi: Remove unnecessary headers.Vinson Lee
2010-01-10glu/sgi: Initialize members of class Mesher.Vinson Lee
2010-01-10glu/sgi: Initialize members of class Slicer.Vinson Lee
2010-01-10glu/sgi: Include missing header file.Vinson Lee
2010-01-10glu/sgi: Initialize members of class Renderhints.Vinson Lee
2010-01-09glu/sgi: Initialize members of class StoredVertex.Vinson Lee
2010-01-09glu/sgi: Include missing header file.Vinson Lee
2010-01-09glu/sgi: Initialize member of class O_pwlcurve.Vinson Lee
2010-01-02glu/sgi: Initialize members of struct O_curve.Vinson Lee
2010-01-02glu/sgi: Initialize members of struct O_surface.Vinson Lee
2010-01-02glu/sgi: Initialize member of struct O_trim.Vinson Lee
2010-01-01glu/sgi: Initialize member of struct Property.Vinson Lee
2010-01-01glu/sgi: Initialize member of struct Dlnode.Vinson Lee
2010-01-01glu/sgi: Initialize members of struct O_nurbscurve.Vinson Lee
2010-01-01glu/sgi: Initialize members of class Knotvector.Vinson Lee
2010-01-01glu/sgi: Initialize member of struct Property.Vinson Lee
2009-12-29glu/sgi: Initialize members of struct O_nurbssurface.Vinson Lee
2009-12-29glu/sgi: Silence warn_unused_result warnings.Vinson Lee
2009-12-29glu/sgi: Initialize member of struct GridVertex.Vinson Lee
2009-12-29glu/sgi: Initialize member variables in class Varray.Vinson Lee
2009-12-29glu/sgi: Initialize member of class monoChain.Vinson Lee
2009-12-29glu/sgi: Initialize members of class sampledLine.Vinson Lee
2009-12-29glu/sgi: Initialize members of class directedLine.Vinson Lee
2009-12-25glu/sgi: Fix include recursion.Vinson Lee
arcsorter.h should not include itself.
2009-12-23glu/sgi: Initialize variable in directedLine.Vinson Lee
2009-12-23glu/sgi: Silence compiler warnings.Vinson Lee
2009-12-22glu/sgi: Silence uninitialized variable warnings.Vinson Lee
2009-12-04glu/sgi: Fix memory leak in gluBuild2DMipmapLevelsCore.Vinson Lee
(cherry picked from commit 808f0376607b0e2d31dfebc888fd8f1e737fed09)
2009-12-04glu/sgi: Fix memory leak in gluBuild1DMipmapLevelsCore.Vinson Lee
(cherry picked from commit 94bcb9f1a43f2ab3bdff09156e3ab5b1c115cbd8)
2009-12-04glu/sgi: Fix memory leak in gluBuild2DMipmapLevelsCore.Vinson Lee
(cherry picked from commit 0d89f3dc7ff3f89ba8d5d664253730485bca35e2)
2009-12-04glu/sgi: Fix memory leak in gluBuild3DMipmapLevelsCore.Vinson Lee
(cherry picked from commit f895abbd9777c4985aa40cf660c68f6d7333f0ec)
2009-12-04glu/sgi: Fix memory leak in gluBuild3DMipmapLevelsCore.Vinson Lee
(cherry picked from commit 326b66d724754ca97012501db1c7c62d7d41a457)
2009-12-04glu/sgi: Fix memory leak in bitmapBuild2DMipmaps.Vinson Lee
(cherry picked from commit 5b925b7daa566d799c4f50911a7fcca114131503)