<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugreport</title><link href="https://sourceforge.net/p/glscript/bugreport/" rel="alternate"/><link href="https://sourceforge.net/p/glscript/bugreport/feed.atom" rel="self"/><id>https://sourceforge.net/p/glscript/bugreport/</id><updated>2009-04-18T08:35:50Z</updated><subtitle>Recent changes to bugreport</subtitle><entry><title>Subtract from variable, cannot subtract bellow 0</title><link href="https://sourceforge.net/p/glscript/bugreport/2/" rel="alternate"/><published>2009-04-18T08:35:50Z</published><updated>2009-04-18T08:35:50Z</updated><author><name>Daniel Bailey</name><uri>https://sourceforge.net/u/danielbailey/</uri></author><id>https://sourceforge.net5227760222cf07b3919458603de7c4000faf4a6e</id><summary type="html">&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;</summary></entry><entry><title>Linux TextOut Init Error</title><link href="https://sourceforge.net/p/glscript/bugreport/1/" rel="alternate"/><published>2009-04-17T09:16:08Z</published><updated>2009-04-17T09:16:08Z</updated><author><name>Daniel Bailey</name><uri>https://sourceforge.net/u/danielbailey/</uri></author><id>https://sourceforge.net2c6f53c5abe3948828d65a4a9b98589d185e7949</id><summary type="html">&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;</summary></entry></feed>