mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-12 19:53:00 +00:00
improved the quality of 3D models from conformal menu
This commit is contained in:
@@ -670,4 +670,13 @@ void store_in_buffer(vector<glvertex>& v) {
|
||||
#endif
|
||||
}
|
||||
|
||||
bool current_depthtest;
|
||||
|
||||
void set_depthtest(bool b) {
|
||||
if(b != current_depthtest) {
|
||||
current_depthtest = b;
|
||||
if(b) glEnable(GL_DEPTH_TEST);
|
||||
else glDisable(GL_DEPTH_TEST);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user