@@ -977,24 +977,24 @@ protected void doDrawOrderedRenderable(DrawContext dc, PickSupport pickCandidate
977977 (byte ) color .getAlpha ());
978978 }
979979
980- // Compute the scale
981- double xscale ;
982- Double scale = this .getActiveAttributes ().getScale ();
983- if (scale != null )
984- xscale = scale * this .activeTexture .getWidth (dc );
985- else
986- xscale = this .activeTexture .getWidth (dc );
987-
988- double yscale ;
989- if (scale != null )
990- yscale = scale * this .activeTexture .getHeight (dc );
991- else
992- yscale = this .activeTexture .getHeight (dc );
993- double maxwh = Math .max (xscale , yscale );
994-
995- // The image is drawn using a parallel projection.
996- osh .pushProjectionIdentity (gl );
997- gl .glOrtho (0d , dc .getView ().getViewport ().width , 0d , dc .getView ().getViewport ().height , -0.6 * maxwh , 0.6 * maxwh );
980+ // Compute the scale
981+ double xscale ;
982+ Double scale = this .getActiveAttributes ().getScale ();
983+ if (scale != null )
984+ xscale = scale * this .activeTexture .getWidth (dc );
985+ else
986+ xscale = this .activeTexture .getWidth (dc );
987+
988+ double yscale ;
989+ if (scale != null )
990+ yscale = scale * this .activeTexture .getHeight (dc );
991+ else
992+ yscale = this .activeTexture .getHeight (dc );
993+ double maxwh = Math .max (xscale , yscale );
994+
995+ // The image is drawn using a parallel projection.
996+ osh .pushProjectionIdentity (gl );
997+ gl .glOrtho (0d , dc .getView ().getViewport ().width , 0d , dc .getView ().getViewport ().height , -0.6 * maxwh , 0.6 * maxwh );
998998
999999 // Apply the depth buffer but don't change it (for screen-space shapes).
10001000 if ((!dc .isDeepPickingEnabled ()))
0 commit comments