Skip to content

Commit 3c51063

Browse files
committed
.
1 parent 1da1f1e commit 3c51063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/thomasdiewald/pixelflow/java/imageprocessing/filter/GaussianBlurPyramid.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public void resize(int w, int h, int internal_format, int format, int type, int
102102
BLUR_LAYERS = Math.min(BLUR_LAYERS_MAX, BLUR_LAYERS);
103103

104104
// 2) init/release textures if needed
105-
if(tex_blur.length < BLUR_LAYERS){
105+
if(tex_blur.length != BLUR_LAYERS){
106106
release();
107107
tex_blur = new DwGLTexture[BLUR_LAYERS];
108108
tex_temp = new DwGLTexture[BLUR_LAYERS];

0 commit comments

Comments
 (0)