d-gamedev-team/gfm

Why bool uniform should be set as int values?

drug007 opened this issue · 4 comments

Here says that GL_BOOL is equal to int. It forces me do:

    bool my_uniform;
    ...
    program.uniform("my_uniform").set(cast(int)my_uniform);
p0nce commented

Looks like a bug indeed. I get back to you in ~10 hours.

p0nce commented

Use v2.3.27 or later.

p0nce commented

Wtf, I didn't fixed this.

p0nce commented

Sorry for the bad fix.
Use v2.3.28 or later.