src/org/lwjgl/demo/opengl/raytracing/Demo.java
private void present() {
		/*
		 * Draw the rendered image on the screen using textured full-screen
		 * quad.
		 */
		glUseProgram(quadProgram);
		glBindVertexArray(vao);
		glBindTexture(GL_TEXTURE_2D, tex);
		glBindSampler(0, this.sampler);
		glDrawArrays(GL_TRIANGLES, 0, 6);
		glBindSampler(0, 0);
		glBindTexture(GL_TEXTURE_2D, 0);
		glBindVertexArray(0);
		glUseProgram(0);
	}
/**
	 * Present the final image on the screen/viewport.
	 */
Present the final image on the screen/viewport.
Present the final image on the screen / viewport .
private void present() {
		/*
		 * Draw the rendered image on the screen using textured full-screen
		 * quad.
		 */
		glUseProgram(quadProgram);
		glBindVertexArray(vao);
		glBindTexture(GL_TEXTURE_2D, tex);
		glBindSampler(0, this.sampler);
		glDrawArrays(GL_TRIANGLES, 0, 6);
		glBindSampler(0, 0);
		glBindTexture(GL_TEXTURE_2D, 0);
		glBindVertexArray(0);
		glUseProgram(0);
	}
private void present ( ) { /*
		 * Draw the rendered image on the screen using textured full-screen
		 * quad.
		 */ glUseProgram ( quadProgram ) ; glBindVertexArray ( vao ) ; glBindTexture ( GL_TEXTURE_2D , tex ) ; glBindSampler ( 0 , this . sampler ) ; glDrawArrays ( GL_TRIANGLES , 0 , 6 ) ; glBindSampler ( 0 , 0 ) ; glBindTexture ( GL_TEXTURE_2D , 0 ) ; glBindVertexArray ( 0 ) ; glUseProgram ( 0 ) ; }
Present the final image on the screen/viewport.
Present the final image on the screen / viewport .