[bugreport] texture & fsaa

Thijs Koerselman's icon

The following patch is from the recent "texture and blending" thread. When
everything is setup and working, I noticed that once I set "fsaa 0"->[
jit.gl.render] there is no way to get it to work anymore. I keep getting the
following error:

"jit.gl.texture setting subteximage during submission.: GL Error: Invalid
operation"

steps to reproduce:
- load the texture and hit all messages until you see a texture on the text.
- send fsaa 0

This behavior is the same the other way around. starting at fsaa 0 and
trying to switch to 1.

sys: windows, jit 1.5.3, max 4.5.7 nvidia 6800

T_

Max Patch
Copy patch and select New From Clipboard in Max.

nesa's icon

Reproducible here, but what I've just noticed is that jit.gl.texture had
other render context than jit.gl.render. if they are the same, there's no
problem.

One workaround for previous situation is to force 'texture rebuilding', by,
for instance, changing dims, or some similar hack:

Max Patch
Copy patch and select New From Clipboard in Max.

Thijs Koerselman's icon

Thanks I overlooked that. This makes it even less of an issue. At least
now I know where to look when the error turns up.

best, T_