File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
src/gov/nasa/worldwind/render Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -171,12 +171,12 @@ public final GLContext getGLContext()
171171
172172 public final int getDrawableHeight ()
173173 {
174- return this .getGLDrawable ().getHeight ();
174+ return this .getGLDrawable ().getSurfaceHeight ();
175175 }
176176
177177 public final int getDrawableWidth ()
178178 {
179- return this .getGLDrawable ().getWidth ();
179+ return this .getGLDrawable ().getSurfaceWidth ();
180180 }
181181
182182 public final GLDrawable getGLDrawable ()
Original file line number Diff line number Diff line change @@ -1951,7 +1951,6 @@ public void run() {
19511951
19521952 @ Override
19531953 public void dispose (GLAutoDrawable drawable ) {
1954- glu .destroy ();
19551954 glu =null ;
19561955 frame =null ;
19571956 }
You can’t perform that action at this time.
0 commit comments