Back to project page tetris-android.
The source code is released under:
MIT License
If you think the Android project tetris-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.badlogic.androidgames.framework.impl; /*from www.jav a 2 s .c om*/ import javax.microedition.khronos.opengles.GL10; import android.opengl.GLSurfaceView; public class GLGraphics { GLSurfaceView glView; GL10 gl; GLGraphics(GLSurfaceView glView) { this.glView = glView; } public GL10 getGL() { return gl; } void setGL(GL10 gl) { this.gl = gl; } public int getWidth() { return glView.getWidth(); } public int getHeight() { return glView.getHeight(); } }