|
Post by Darkjester on Jul 18, 2008 16:29:00 GMT -5
I think you should be able to use a simple cammand like Glclear(gl_buffers) Insted of Glclear(gl_depth_buffer_bit or gl_color_buffer_bit) But only if you want to clear both buffers
|
|
|
Post by James :) (aka Madcow) on Jul 19, 2008 14:46:42 GMT -5
you could just make a function
|
|
|
Post by Darkjester on Jul 19, 2008 19:01:11 GMT -5
True Im not sure how to do it to make it clear both buffers at the same time though
|
|
|
Post by Nicky Peter Hollyoake on Jul 20, 2008 9:25:06 GMT -5
Sub Clear() GLClear(GL_COLOR_BUFFER_BIT OR GL_DEPTH_BUFFER_BIT) EndSub
Ain't been tested but should work.
- Nicky
|
|
|
Post by Darkjester on Jul 20, 2008 14:07:54 GMT -5
Thnx Nicki it works for me!
|
|