As a workaround, draw full screen quad and output your desired color in a fragment shader.

It might end like this, I wanted to check to normal road first

Thanks

aqnuep

12-09-2010, 02:20 AM

AMD has some known issue with glClear* and they are working on it... hope it would be fixed soon!
AFAIK only the depth+stencil clears are not working but color clears are in fact functioning.

Groovounet

12-09-2010, 06:38 AM

There are lot more problems on AMD glClear*
What I experienced lately is a disfunctional scissor test on glClearBuffer*

besim

04-13-2011, 11:19 AM

Please someone help me in a homework.

Assignment One
due 17/4/2011
Your job is to create a freehand drawing application that will have the following options:
1. Be able to draw shapes using the mouse.
2. The user should be able to increase / decrease brush size using the keyboard (+ and -) keys.
3. The user should be able to choose from a menu of at least four different colors. The menu should be bound to the right click!