You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are many places where if expressions could be used.
I don't know whether you consider that an improvement in readability.
But I think that in orka/src/gl/implementation/gl-objects-textures.adb the following change
Because there are 2 definitions of Create_View, each specifying a different type (compressed or uncompressed). I find it (having 2 types) a bit ugly. Perhaps it would be better to use a subtype for the compressed textures, so that only 1 definition of Create_View is needed.
I agree that it's an improvement, but it doesn't compile unfortunately.
Dear Developers,
There are many places where if expressions could be used.
I don't know whether you consider that an improvement in readability.
But I think that in orka/src/gl/implementation/gl-objects-textures.adb the following change
improves readability.
See patch file for more inspiration of places where code might be simplified.
If_Expression.zip
Greetings,
Pierre
The text was updated successfully, but these errors were encountered: