File tree Expand file tree Collapse file tree
core/src/processing/opengl Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6223,7 +6223,7 @@ protected void endOnscreenDraw() {
62236223
62246224 protected void initOffscreen () {
62256225 // Getting the context and capabilities from the main renderer.
6226- loadTextureImpl (Texture . BILINEAR , false );
6226+ loadTextureImpl (textureSampling , false );
62276227
62286228 // In case of reinitialization (for example, when the smooth level
62296229 // is changed), we make sure that all the OpenGL resources associated
Original file line number Diff line number Diff line change @@ -52,13 +52,13 @@ public class Texture implements PConstants {
5252 * to linear */
5353 protected static final int LINEAR = 3 ;
5454 /** Bilinear sampling: both magnification filtering is set to linear and
55- * minification either to linear-mipmap-nearest (linear interplation is used
55+ * minification either to linear-mipmap-nearest (linear interpolation is used
5656 * within a mipmap, but not between different mipmaps). */
5757 protected static final int BILINEAR = 4 ;
5858 /** Trilinear sampling: magnification filtering set to linear, minification to
5959 * linear-mipmap-linear, which offers the best mipmap quality since linear
6060 * interpolation to compute the value in each of two maps and then
61- * interpolates linearly between these two value . */
61+ * interpolates linearly between these two values . */
6262 protected static final int TRILINEAR = 5 ;
6363
6464
You can’t perform that action at this time.
0 commit comments