https://bugs.winehq.org/show_bug.cgi?id=44514
--- Comment #10 from nick@look.ca --- (In reply to jean from comment #9)
I investigated a bit and found that the 32 limit is an OpenGL limit which can only be bypassed by using bindless textures, but as the OpenGL wiki says, they are not safe : https://www.khronos.org/opengl/wiki/Bindless_Texture It means that to resolve this bug, textures handling may need to be entirely rewritten(not sure about this though).
I checked with glxinfo and I have that opengl extension enable but it doesn't fix this bug so I guess it also has to be fixed through wine.