|
Post by Wayne Rayner on Jan 13, 2010 19:42:37 GMT -5
Ok guys I need to know how to change the background color and would gracefully appreciate your help.
Yours Wayne Rayner
|
|
|
Post by Nicky Peter Hollyoake on Jan 13, 2010 20:03:35 GMT -5
glClearColor(red, green, blue, alpha) EXAMPLE: dim c dim d = 1
while TRUE
c = (c + d) % 91 if c = 90 or c = 0 then d = - d endif
glClearColor(sind(c), cosd(c), 0, 0) glClear(GL_COLOR_BUFFER_BIT) Swapbuffers() sleep(40) wend - Nicky
|
|