mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-19 19:14:42 +00:00
added missing glclearcolor
This commit is contained in:
parent
fce997038d
commit
a0dbde12a5
@ -24,6 +24,9 @@
|
||||
History
|
||||
|
||||
$Log$
|
||||
Revision 1.54 2005/12/08 22:53:11 cignoni
|
||||
added missing glclearcolor
|
||||
|
||||
Revision 1.53 2005/12/08 18:21:56 vannini
|
||||
Rewritten tiled rendering functions. Now we use grabFrameBuffer() instead of glReadPixels.
|
||||
|
||||
@ -449,6 +452,7 @@ void GLArea::paintGL()
|
||||
lastTime=time.elapsed();
|
||||
initTexture();
|
||||
glDisable(GL_TEXTURE_2D); // FIX FIX FIX to move in trimesh.h ?
|
||||
glClearColor(1.0,1.0,1.0,1.0);
|
||||
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
|
||||
glLoadIdentity();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user