Revision: 52787
http://brlcad.svn.sourceforge.net/brlcad/?rev=52787&view=rev
Author: brlcad
Date: 2012-10-04 19:50:57 +0000 (Thu, 04 Oct 2012)
Log Message:
-----------
fixes sf bug 3574531 reporting compilation error due to type mismatch.
setWindowBounds takes an array of fastf_t, not ints. surprising if it
previously even worked.
Modified Paths:
--------------
brlcad/trunk/src/util/pl-dm.c
Modified: brlcad/trunk/src/util/pl-dm.c
===================================================================
--- brlcad/trunk/src/util/pl-dm.c 2012-10-04 19:46:14 UTC (rev 52786)
+++ brlcad/trunk/src/util/pl-dm.c 2012-10-04 19:50:57 UTC (rev 52787)
@@ -1056,7 +1056,7 @@
static int
X_dmInit()
{
- fastf_t windowbounds[6] = { 2047, -2048, 2047, -2048, 2047, -2048 };
+ fastf_t windowbounds[6] = { 2047.0, -2048.0, 2047.0, -2048.0, 2047.0,
-2048.0 };
const char *av[4];
av[0] = "X_open";
@@ -1082,7 +1082,7 @@
static int
Ogl_dmInit()
{
- fastf_t windowbounds[6] = { 2047, -2048, 2047, -2048, 2047, -2048 };
+ fastf_t windowbounds[6] = { 2047.0, -2048.0, 2047.0, -2048.0, 2047.0,
-2048.0 };
char *av[4];
av[0] = "Ogl_open";
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits