Commit Graph

313 Commits

Author SHA1 Message Date
Alexander von Gluck IV 64ae209d50 scons: Add Haiku build support
Enables building stock Mesa under the Haiku operating system.
2012-01-17 20:01:14 +00:00
Alexander von Gluck 2e60c955c2 glu: remove BeOS define as BeOS is not longer a target platform
Reviewed-by: Brian Paul <brianp@vmare.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
2011-12-27 09:16:51 -07:00
José Fonseca 9b8ee08248 glu: Fix deprecated conversion from string constant to ‘char*’ warning. 2011-11-09 10:24:37 +00:00
José Fonseca 0b263aeb8b glu: Avoid defining conflicting DEBUG NDEBUG macros. 2011-08-30 09:42:01 +01:00
José Fonseca 15465949e0 glu: Fix build on mingw-w64. 2011-08-30 09:42:01 +01:00
José Fonseca 99a8150a1a Remove dead Makefiles. 2011-08-30 09:42:01 +01:00
José Fonseca 3ab19bf82a Remote *.mgw stuff.
Totally broken, and deprecated by scons.
2011-08-30 09:42:01 +01:00
José Fonseca fa7a051c25 sgi: Fix MSVC build.
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-27 19:06:07 +01:00
Jakob Bornecrantz fed8a07ddb glu: Fix linux build 2011-04-23 17:01:19 +02:00
Jakob Bornecrantz 97efac09b2 glu: Clone the enviroment 2011-04-23 16:58:48 +02:00
José Fonseca d34ddad9a5 scons: Build glu. 2011-04-23 13:16:03 +01:00
Brian Paul 988b246c47 mesa: fix mesa version string construction
Now that MESA_MINOR=10, we no longer need the extra '0' in the
version string.
2010-10-19 08:59:27 -06:00
Vinson Lee 6f6c8ec7b7 glu/sgi: Remove dead initialization in extract565rev. 2010-07-16 01:11:03 -07:00
Vinson Lee 4f6aa567c0 glu/sgi: Remove dead initialization in extract565. 2010-07-15 01:42:02 -07:00
Neil Roberts 75acb896c6 glu: Fix some compiler warnings in libtess
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-06-30 07:59:39 -06:00
Jeff Smith fab1f07d6a Grammar and spelling fixes
Signed-off-by: Jeff Smith <whydoubt@yahoo.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-03-12 08:55:05 -07:00
Kristian Høgsberg 44f78eb18e Remove unused mini and mesa glu subdirectories 2010-02-25 17:40:11 -05:00
Vinson Lee 0bca812dc4 Revert "glu/sgi: Set freed pointer to NULL."
This commit breaks flightgear fgfs. A null pointer is
dereferenced in the function MakeVertex.

This reverts commit 9be414f4b9.
2010-02-25 14:26:25 -08:00
Vinson Lee 9be414f4b9 glu/sgi: Set freed pointer to NULL. 2010-02-25 02:19:00 -08:00
Vinson Lee e045af4146 glu/sgi: Add assert to check for null pointer dereference. 2010-02-15 02:14:02 -08:00
Vinson Lee 026d4b5b91 glu/sgi: Move initialization of members to top of Curve constructor.
This is a modification of commit 53d448657b.

The members cpts and spts are possibly used as arguments later in
the constructor.
2010-02-14 22:28:32 -08:00
Vinson Lee 4bbcc11f43 glu/sgi: Initialize members of class Curvelist. 2010-02-14 22:18:41 -08:00
Vinson Lee 53d448657b glu/sgi: Initialize members of class Curve. 2010-02-14 22:04:59 -08:00
Vinson Lee 9867b6eaad glu/sgi: Initialize member of class Pool. 2010-02-14 21:45:01 -08:00
Brian Paul 2523172a5e src/glu/mesa: fix mem leak (bug 26559) 2010-02-14 10:05:42 -07:00
Brian Paul d4d0629fcd src/glu/mini: fix mem leak (bug 26559) 2010-02-14 10:05:42 -07:00
Vinson Lee ec5e54a40a glu/sgi: Initialize members of class Curvelist. 2010-02-13 23:56:48 -08:00
Vinson Lee d0ec18e111 glu/sgi: Initialize member of class primStream. 2010-02-12 00:41:01 -08:00
Vinson Lee b5b1b452cd glu/sgi: Initialize members of class Arc. 2010-02-12 00:36:00 -08:00
Vinson Lee 977fa27360 glu/sgi: Initialize member of class Bin. 2010-02-12 00:28:44 -08:00
Vinson Lee 7a593afa17 glu/sgi: Initialize member of class Uarray. 2010-02-10 01:25:23 -08:00
Vinson Lee df8273494e glu/sgi: Remove unnecessary headers. 2010-01-28 18:07:04 -08:00
Vinson Lee 4fe51c7447 glu/sgi: Initialize members of class Mesher. 2010-01-10 16:09:41 -08:00
Vinson Lee 1111b38a1b glu/sgi: Initialize members of class Slicer. 2010-01-10 15:55:52 -08:00
Vinson Lee b9bd96608c glu/sgi: Include missing header file. 2010-01-10 03:03:14 -08:00
Vinson Lee 9e98c1fbf6 glu/sgi: Initialize members of class Renderhints. 2010-01-10 00:14:33 -08:00
Vinson Lee a5815c36f7 glu/sgi: Initialize members of class StoredVertex. 2010-01-09 23:55:05 -08:00
Vinson Lee 61afd1158f glu/sgi: Include missing header file. 2010-01-09 23:53:54 -08:00
Vinson Lee f8737bda37 glu/sgi: Initialize member of class O_pwlcurve. 2010-01-09 23:25:49 -08:00
Vinson Lee fe27b07b0f glu/sgi: Initialize members of struct O_curve. 2010-01-02 20:04:00 -08:00
Vinson Lee 386f91eec3 glu/sgi: Initialize members of struct O_surface. 2010-01-02 15:46:11 -08:00
Vinson Lee ba9dc26eec glu/sgi: Initialize member of struct O_trim. 2010-01-02 15:29:25 -08:00
Vinson Lee 37e5626111 glu/sgi: Initialize member of struct Property. 2010-01-01 23:01:03 -08:00
Vinson Lee 2c64e4c50e glu/sgi: Initialize member of struct Dlnode. 2010-01-01 17:25:16 -08:00
Vinson Lee 64a1961011 glu/sgi: Initialize members of struct O_nurbscurve. 2010-01-01 17:19:27 -08:00
Vinson Lee a349687d49 glu/sgi: Initialize members of class Knotvector. 2010-01-01 14:46:30 -08:00
Vinson Lee 5d3d202ac9 glu/sgi: Initialize member of struct Property. 2010-01-01 14:39:16 -08:00
Vinson Lee de95e5768b glu/sgi: Initialize members of struct O_nurbssurface. 2009-12-29 22:29:53 -08:00
Vinson Lee 70bbe22366 glu/sgi: Silence warn_unused_result warnings. 2009-12-29 21:03:23 -08:00
Vinson Lee 97b899374c glu/sgi: Initialize member of struct GridVertex. 2009-12-29 20:45:24 -08:00