List Info

Thread: New - GLJPanel handleReshape bug




New - GLJPanel handleReshape bug
user name
2007-10-02 03:01:35

https://jogl.dev.java.net/issues/show_bug.cgi?id=317
                 Issue #|317
                 Summary|GLJPanel handleReshape bug
               Component|jogl
                 Version|current
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P1
            Subcomponent|jogl
             Assigned to|issuesjogl
             Reported by|himuro






------- Additional comments from himurodev.java.net Tue Oct  2 08:01:34 +0000 2007 -------
Hi.

I found a wrong algorithm in GLJPanel.
This code recreate pbuffer but judge algorithm is wrong.

--
[version] jogl-1.1.1-rc3
[src] GLJPanel.java
[line] 967-968

        if ((panelWidth > pbufferWidth           )      
|| (panelHeight >
pbufferHeight) ||
            (panelWidth < (pbufferWidth / shrinkFactor))
|| (panelHeight <
(pbufferWidth / shrinkFactor))) {

--
in last statement
[wrong] (panelHeight < (pbufferWidth / shrinkFactor)
[right] (panelHeight < (pbufferHeight / shrinkFactor)

Please correct source.

Thanks.

--
--------------------------------------------------
Denso IT Laboratory, Inc.
   Keisuke UTO
  E-mail: kutod-itlab.co.jp
--------------------------------------------------

------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribejogl.dev.java.net
For additional commands, e-mail: issues-helpjogl.dev.java.net


GLJPanel handleReshape bug
user name
2007-10-02 05:58:14

https://jogl.dev.java.net/issues/show_bug.cgi?id=317



User kbr changed the following:

                What    ld value 
               |New value
============================================================
====================
                  Status|NEW                      
|RESOLVED
------------------------------------------------------------
--------------------
              Resolution|                          |FIXED
------------------------------------------------------------
--------------------




------- Additional comments from kbrdev.java.net Tue Oct  2
10:58:14 +0000 2007 -------
Fixed obvious bug in algorithm as per submitter's comment.
Fix will be present
in nightly builds dated 10/3 and later. Thanks for the
patch.


------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribejogl.dev.java.net
For additional commands, e-mail: issues-helpjogl.dev.java.net


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )