summaryrefslogtreecommitdiff
path: root/src/glu
AgeCommit message (Collapse)AuthorFilesLines
2010-07-16glu/sgi: Remove dead initialization in extract565rev.Vinson Lee1-1/+1
2010-07-15glu/sgi: Remove dead initialization in extract565.Vinson Lee1-1/+1
2010-06-30glu: Fix some compiler warnings in libtessNeil Roberts8-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 <brianp@vmware.com>
2010-03-12Grammar and spelling fixesJeff Smith2-2/+2
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øgsberg34-13732/+0
2010-02-25Revert "glu/sgi: Set freed pointer to NULL."Vinson Lee1-1/+0
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 Lee1-0/+1
2010-02-15glu/sgi: Add assert to check for null pointer dereference.Vinson Lee1-0/+1
2010-02-14glu/sgi: Move initialization of members to top of Curve constructor.Vinson Lee1-8/+6
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 Lee1-4/+5
2010-02-14glu/sgi: Initialize members of class Curve.Vinson Lee1-0/+8
2010-02-14glu/sgi: Initialize member of class Pool.Vinson Lee1-0/+3
2010-02-14src/glu/mesa: fix mem leak (bug 26559)Brian Paul1-1/+6
2010-02-14src/glu/mini: fix mem leak (bug 26559)Brian Paul1-1/+5
2010-02-13glu/sgi: Initialize members of class Curvelist.Vinson Lee1-0/+2
2010-02-12glu/sgi: Initialize member of class primStream.Vinson Lee1-0/+2
2010-02-12glu/sgi: Initialize members of class Arc.Vinson Lee1-0/+6
2010-02-12glu/sgi: Initialize member of class Bin.Vinson Lee1-0/+1
2010-02-10glu/sgi: Initialize member of class Uarray.Vinson Lee1-0/+1
2010-01-28glu/sgi: Remove unnecessary headers.Vinson Lee11-13/+0
2010-01-10glu/sgi: Initialize members of class Mesher.Vinson Lee1-0/+3
2010-01-10glu/sgi: Initialize members of class Slicer.Vinson Lee1-0/+4
2010-01-10glu/sgi: Include missing header file.Vinson Lee1-0/+2
2010-01-10glu/sgi: Initialize members of class Renderhints.Vinson Lee1-0/+4
2010-01-09glu/sgi: Initialize members of class StoredVertex.Vinson Lee1-1/+1
2010-01-09glu/sgi: Include missing header file.Vinson Lee1-0/+1
2010-01-09glu/sgi: Initialize member of class O_pwlcurve.Vinson Lee1-0/+2
2010-01-02glu/sgi: Initialize members of struct O_curve.Vinson Lee1-1/+1
2010-01-02glu/sgi: Initialize members of struct O_surface.Vinson Lee1-1/+1
2010-01-02glu/sgi: Initialize member of struct O_trim.Vinson Lee1-1/+1
2010-01-01glu/sgi: Initialize member of struct Property.Vinson Lee1-1/+1
2010-01-01glu/sgi: Initialize member of struct Dlnode.Vinson Lee1-0/+1
2010-01-01glu/sgi: Initialize members of struct O_nurbscurve.Vinson Lee1-1/+1
2010-01-01glu/sgi: Initialize members of class Knotvector.Vinson Lee1-0/+3
2010-01-01glu/sgi: Initialize member of struct Property.Vinson Lee1-1/+1
2009-12-29glu/sgi: Initialize members of struct O_nurbssurface.Vinson Lee1-1/+1
2009-12-29glu/sgi: Silence warn_unused_result warnings.Vinson Lee1-9/+19
2009-12-29glu/sgi: Initialize member of struct GridVertex.Vinson Lee1-1/+1
2009-12-29glu/sgi: Initialize member variables in class Varray.Vinson Lee1-0/+8
2009-12-29glu/sgi: Initialize member of class monoChain.Vinson Lee1-0/+1
2009-12-29glu/sgi: Initialize members of class sampledLine.Vinson Lee1-0/+3
2009-12-29glu/sgi: Initialize members of class directedLine.Vinson Lee1-0/+2
2009-12-25glu/sgi: Fix include recursion.Vinson Lee1-1/+0
arcsorter.h should not include itself.
2009-12-23glu/sgi: Initialize variable in directedLine.Vinson Lee1-1/+1
2009-12-23glu/sgi: Silence compiler warnings.Vinson Lee2-4/+6
2009-12-22glu/sgi: Silence uninitialized variable warnings.Vinson Lee2-4/+4
2009-12-04glu/sgi: Fix memory leak in gluBuild2DMipmapLevelsCore.Vinson Lee1-0/+1
(cherry picked from commit 808f0376607b0e2d31dfebc888fd8f1e737fed09)
2009-12-04glu/sgi: Fix memory leak in gluBuild1DMipmapLevelsCore.Vinson Lee1-0/+1
(cherry picked from commit 94bcb9f1a43f2ab3bdff09156e3ab5b1c115cbd8)
2009-12-04glu/sgi: Fix memory leak in gluBuild2DMipmapLevelsCore.Vinson Lee1-0/+1
(cherry picked from commit 0d89f3dc7ff3f89ba8d5d664253730485bca35e2)
2009-12-04glu/sgi: Fix memory leak in gluBuild3DMipmapLevelsCore.Vinson Lee1-0/+1
(cherry picked from commit f895abbd9777c4985aa40cf660c68f6d7333f0ec)