user1782677
user1782677

Reputation: 2007

Set background color to a texture

So in openGL when I call glClearColor() is there a way to set the background color to a texture instead of setting it just to a static color? Or is there another method which can do that besides glClearColor()?

Upvotes: 0

Views: 1257

Answers (1)

Nicol Bolas
Nicol Bolas

Reputation: 473352

You cannot clear the screen to a texture. You can:

Either one will work.

Upvotes: 6

Related Questions