aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/menu/application.cpp1
-rw-r--r--src/menu/frame_background_color.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/menu/application.cpp b/src/menu/application.cpp
index ccc983d3..00606135 100644
--- a/src/menu/application.cpp
+++ b/src/menu/application.cpp
@@ -154,6 +154,7 @@ namespace usdx
glMatrixMode( GL_MODELVIEW );
glLoadIdentity();
+ glDisable(GL_DEPTH_TEST);
}
if (! display) {
diff --git a/src/menu/frame_background_color.cpp b/src/menu/frame_background_color.cpp
index 43b1c748..a0558082 100644
--- a/src/menu/frame_background_color.cpp
+++ b/src/menu/frame_background_color.cpp
@@ -42,6 +42,6 @@ namespace usdx
void FrameBackgroundColor::draw()
{
glClearColor(color.get_red(), color.get_green(), color.get_blue(), 1.0f);
- glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
+ glClear(GL_COLOR_BUFFER_BIT);
}
};