summaryrefslogtreecommitdiff
path: root/src/libutil
AgeCommit message (Collapse)AuthorFilesLines
2021-06-24Check the definition instead of the extension to which it belongsNicolas Caramelli1-1/+3
Signed-off-by: Nicolas Caramelli <caramelli.devel@gmail.com>
2019-07-23libutil: Include stddef.h for NULLMatt Turner1-0/+1
Fixes: #5 Reviewed-by: Eric Engestrom <eric@engestrom.ch>
2016-06-10libutils/mipmap.c: Fixed possible memory leakAmarnath Valluri1-0/+2
In case of malloc() failure memory allocated for both 'srcImage' and 'dstImage' is leaked. Patch simplified by Brian Paul. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96480 Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2011-04-27sgi: Fix MSVC build.José Fonseca1-1/+1
Including windows.h was ineffective on MSVC because we define the NOGDI macro, which skips the wingdi.h include. Unsetting NOGDI is also a bad idea because it causes all sort of symbol clashes with SGI code. The real problem is that WINGDAPI was not being defined, also due to NOGDI, so simply define it to blank if not done already. This seems to make everybody happy.
2011-04-23glu: Fix linux buildJakob Bornecrantz1-1/+1
2011-04-23scons: Build glu.José Fonseca1-3/+3
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-01-28glu/sgi: Remove unnecessary headers.Vinson Lee2-3/+0
2009-11-26glu/sgi: Fix memory leak in gluBuild2DMipmapLevelsCore.Vinson Lee1-0/+1
2009-11-25glu/sgi: Fix memory leak in gluBuild1DMipmapLevelsCore.Vinson Lee1-0/+1
2009-11-25glu/sgi: Fix memory leak in gluBuild2DMipmapLevelsCore.Vinson Lee1-0/+1
2009-11-25glu/sgi: Fix memory leak in gluBuild3DMipmapLevelsCore.Vinson Lee1-0/+1
2009-11-24glu/sgi: Fix memory leak in gluBuild3DMipmapLevelsCore.Vinson Lee1-0/+1
2009-11-23glu/sgi: Fix memory leak in bitmapBuild2DMipmaps.Vinson Lee1-0/+1
2009-11-23glu/sgi: Fix memory leak in gluScaleImage3D.Vinson Lee1-0/+2
2009-11-22glu/sgi: Fix memory leak in gluScaleImage.Vinson Lee1-0/+2
2008-09-19Update to SGI FreeB 2.0.Adam Jackson7-241/+196
Under the terms of version 1.1, "once Covered Code has been published under a particular version of the License, Recipient may, for the duration of the License, continue to use it under the terms of that version, or choose to use such Covered Code under the terms of any subsequent version published by SGI." FreeB 2.0 license refers to "dates of first publication". They are here taken to be 1991-2000, as noted in the original license text: ** Original Code. The Original Code is: OpenGL Sample Implementation, ** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, ** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc. ** Copyright in any portions created by third parties is as indicated ** elsewhere herein. All Rights Reserved. Official FreeB 2.0 text: http://oss.sgi.com/projects/FreeB/SGIFreeSWLicB.2.0.pdf As always, this code has not been tested for conformance with the OpenGL specification. OpenGL conformance testing is available from http://khronos.org/ and is required for use of the OpenGL logo in product advertising and promotion.
2008-06-17glu: silence warningsBrian Paul1-2/+2
2008-04-14check for _WIN32 and __WIN32__Brian Paul1-2/+2
2007-09-03Use temporary matrix in __gluInvertMatrixd() to fix aliasing problem (see ↵Brian1-3/+3
bugs 12269, 6748)
2007-08-27new __gluInvertMatrix() function (Mesa bug 6748)Brian1-66/+49
2007-08-01fix error code test limit (bug 11795)Brian1-1/+1
2006-11-18additional fixes for mipmap building (Greg McGarragh)Brian Paul1-7/+2
2006-11-17fix some gluBuild2DMipmap bugs (Greg McGarragh)Brian Paul1-5/+44
2006-09-15replace GLAPI w/ static and init var to 0 (Michel Donais)Brian Paul1-1/+1
2006-09-11Win32 fixes (SF bug 1554931)Brian Paul1-4/+4
2006-06-20rewrite gluErrorString() to be more legibleBrian Paul1-36/+34
2006-05-01new, faster version of __gluInvertMatrixd(), bug 6748Brian Paul1-59/+62
2005-10-28silence a bunch of compiler warningsBrian Paul1-3/+3
2005-10-05added GL_INVALID_FRAMEBUFFER_OPERATION_EXT to gluErrorString()Brian Paul1-2/+7
2005-05-07assorted warning clean-ups for x86_64, etc (Mikko T.)Brian Paul1-50/+48
2005-02-09Added a test/clamp in the scale_internal_*() functions to prevent readingBrian Paul1-1/+22
a row of pixels beyond the input buffer's bounds. FDO/Mesa bug #2510.
2003-11-24Remove a lot of rcs tags, avoid merge conflictsKeith Whitwell2-4/+0
2003-10-14Updates to SGI GLU code to get it to compile clean with the Open Watcom ↵Kendall Bennett2-2266/+2269
compiler. Most of the changes were to get rid of warnings, but many of the warnings could not be removed in the code so I also added #pragma's to disable the warnings. Someone really should clean up this code, but I didn't want to mess with it that much (and potentially break it).
2002-11-01silence a bunch of warningsBrian Paul3-46/+34
2001-09-24 Committing in .Jouk Jansen1-47/+47
Modified Files: Mesa/si-glu/libutil/glue.c added some type casts to silence compiler warnings. ----------------------------------------------------------------------
2001-09-20Don't use "errno" as a parameter name - it is also a function and thatKarl Schultz2-12/+12
confused the Windows compiler. Also make messages unsigned char for consistency.
2001-09-20compiler warningsKarl Schultz1-3/+3
2001-09-18remove carriage return charsKarl Schultz1-381/+381
2001-09-14Win32 updates (Karl Schultz)Brian Paul1-381/+381
2001-08-07Win32 fixes, etc. (Gerk Huisma)Brian Paul1-6/+65
2001-07-16assorted fixes for Win32 (Gerk Huisma)Brian Paul1-4/+4
2001-03-17SGI SI GLU libraryBrian Paul7-0/+10717