<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugreport</title><link>https://sourceforge.net/p/glscript/bugreport/</link><description>Recent changes to bugreport</description><atom:link href="https://sourceforge.net/p/glscript/bugreport/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 18 Apr 2009 08:35:50 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/glscript/bugreport/feed.rss" rel="self" type="application/rss+xml"/><item><title>Subtract from variable, cannot subtract bellow 0</title><link>https://sourceforge.net/p/glscript/bugreport/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;An access violation ocurs if you subtract from a variable to get a result below -1&lt;br /&gt;
For example:&lt;/p&gt;
&lt;p&gt;$y:float&lt;br /&gt;
$y = -1&lt;br /&gt;
$y = $y-1&lt;/p&gt;
&lt;p&gt;This should change $y to -2 however it just creates an access voilation.&lt;/p&gt;
&lt;p&gt;-- The workaround --&lt;br /&gt;
You can avoid this happening by making the subtraction in a slightly different way.&lt;br /&gt;
For example:&lt;/p&gt;
&lt;p&gt;$y:float&lt;br /&gt;
$y = -1&lt;br /&gt;
$y = $y+(0-1)&lt;/p&gt;
&lt;p&gt;This doesn't fail to execute and you do end up with -2.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Daniel Bailey</dc:creator><pubDate>Sat, 18 Apr 2009 08:35:50 -0000</pubDate><guid>https://sourceforge.net5227760222cf07b3919458603de7c4000faf4a6e</guid></item><item><title>Linux TextOut Init Error</title><link>https://sourceforge.net/p/glscript/bugreport/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;On a linux operating system like debian (the one i am using) GLScript will crash and shutdown when TextOut is called.&lt;br /&gt;
If you run from a terminal then you can see that the exact error is: freeglut  ERROR:  Function &amp;lt;glutBitmapCharacter&amp;gt; called without first calling 'glutInit'.&lt;/p&gt;
&lt;p&gt;Debian 5.1, FreeGlut3, GLScript&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Daniel Bailey</dc:creator><pubDate>Fri, 17 Apr 2009 09:16:08 -0000</pubDate><guid>https://sourceforge.net2c6f53c5abe3948828d65a4a9b98589d185e7949</guid></item></channel></rss>