]> git.localhorst.tv Git - blobs.git/blobdiff - src/graphics/viewport.cpp
basic info box
[blobs.git] / src / graphics / viewport.cpp
index 9e22a260eeb12072eb75ea5931be9b666009d0c1..636f3c35c1015f9cc9612ef9d62c4f592d740692 100644 (file)
@@ -152,5 +152,9 @@ void Viewport::Clear() {
        glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
 }
 
+void Viewport::ClearDepth() {
+       glClear(GL_DEPTH_BUFFER_BIT);
+}
+
 }
 }