A pointer to the uniform data for the empty drawing was being freed before the actual draw call, which invalidates the uniform. This makes the data only be freed after drawing.
A pointer to the uniform data for the empty drawing was being freed before the actual draw call, which invalidates the uniform. This makes the data only be freed after drawing.