RandyGaul / cute_framework

The *cutest* framework out there for creating 2D games in C++!
https://randygaul.github.io/cute_framework/#/
Other
534 stars 31 forks source link

Setting uniform block name bug #222

Open RandyGaul opened 1 month ago

RandyGaul commented 1 month ago

Uniforms are copied to shaders based on finding the first matching uniform name, as all uniform blocks are searched. The expected functionality is to only search within the specified uniform block. This doesn't really affect anyone, since users only have a single uniform block to play with in the draw API anyways. This is mainly a problem for anyone using custom rendering, which for now is probably nearly nobody, and even then is unlikely to cause a problem.

Should be fixed eventually, but low priority.