St0fF
St0fF

Reputation: 1633

What type of state is glClearColor?

Does it belong to framebuffer object state? Is it shareable context state? Is it non-shareable context state?

I just can't find it in the specs :=(

Upvotes: 0

Views: 79

Answers (1)

Nicol Bolas
Nicol Bolas

Reputation: 473342

The clear color is context state.

There's no such thing as "shareable" context state; state in an OpenGL context is never shared with other contexts. Objects can be shared, but not context state.

Upvotes: 4

Related Questions