Skip to content

Commit 3deb3f7

Browse files
committed
added method to set window position
1 parent 3ce3f3d commit 3deb3f7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/java/cleargl/ClearGLWindow.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,12 @@ public int getWindowY()
481481
return mGlWindow.getY();
482482
}
483483

484+
485+
public void setWindowPosition(int pX, int pY)
486+
{
487+
mGlWindow.setPosition(pX, pY);
488+
}
489+
484490
@Override
485491
public void setSize(int pWidth, int pHeight)
486492
{

0 commit comments

Comments
 (0)