MojoShader cannot be compiled with MSVC due to a variable initialization inside of a switch statement. This patch fixes the issue and also removes a redundant check. (If the code reaches this point, we can be sure support_glsles(ctx) is false, otherwise we would have already broken out of the switch.)
MojoShader cannot be compiled with MSVC due to a variable initialization inside of a switch statement. This patch fixes the issue and also removes a redundant check. (If the code reaches this point, we can be sure
support_glsles(ctx)
is false, otherwise we would have already broken out of the switch.)