This commit is contained in:
codeanticode
2014-01-05 15:36:07 -05:00
parent ac3248ca33
commit ce5ead73ee
2 changed files with 3 additions and 3 deletions

View File

@@ -6223,7 +6223,7 @@ public class PGraphicsOpenGL extends PGraphics {
protected void initOffscreen() {
// Getting the context and capabilities from the main renderer.
loadTextureImpl(Texture.BILINEAR, false);
loadTextureImpl(textureSampling, false);
// In case of reinitialization (for example, when the smooth level
// is changed), we make sure that all the OpenGL resources associated