176177178179180181182183184185186
if (_sizeChanged) { sizeChanged(gl, getWidth(), getHeight()); _sizeChanged = false; } gl.glClear(GL20.GL_COLOR_BUFFER_BIT | GL20.GL_DEPTH_BUFFER_BIT); gl.glUseProgram(_program); // Transform the cube _matrix.setIdentity();