Could you post the entire CallStack please from the error? It can be pinpointed easier to find out what’s causing it. For all we know, it could just be a simple conditional missing in one of the files in OpenFL.
Reverted back to changset 656c1b1 on DefaultShader.hx and Shader.hx alowed me to build on flash so i think changset b90022b added a new RepeatMode, but didn’t check in the class to git.
Linux native still gives me build errors becuase of the shaders but i think the changeset may be trying to fix it, so ideally i would like to get the RepeatMode.hx (or what ever file RepeatMode is in) and rebuild to see what results i get.
also, i think this may only be a problem for projects with bitmapfilters.
OpenFL typedef’s to flash.display.Shader at the bottom of the file if you target Flash or openfl_legacy, all other targets use the class directly. However, that’s actually not the problem.
The abstract RepeatMode sits inside the compiler conditional that excludes Flash. Whether this is a deliberate choice, I’m not sure.
Although, I suspect the shaders are only designed for native, not Flash. So it’s not really a bug, just the fact that shaders are reliant on OpenGL (at least that’s what I’m thinking when I look at this further).