Details

    • Type: Task Task
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: jogl
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      317

      Description

      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: kuto@d-itlab.co.jp
      --------------------------------------------------

        Activity

        Hide
        kbr added a comment -

        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.

        Show
        kbr added a comment - 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.

          People

          • Assignee:
            jogl-issues
            Reporter:
            himuro
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: