1

当我绘制图像然后尝试绘制其他几何图形(2D)时,例如线或正方形......它不会工作,因为图像仍然绑定到 GL(image.bind())。Texture 类中没有取消绑定图像的方法。如何从 GL 取消绑定图像?

4

1 回答 1

3

In OpenGL you would call glBindTexture(GL_TEXTURE_2D, 0). Now if you use JOGL you can call Texture.disable(). However make sure you read the performance tips in any case

于 2013-07-19T14:04:48.157 回答