mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-17 21:24:30 +00:00
added set_depthwrite when clearing depth in spherical
This commit is contained in:
1 parent
5330491876
commit
0c82bb64f0
1 file changed
+1
@@ -1511,6 +1511,7 @@ void draw_main() {
|
||||
if(sphere && DIM == 3 && pmodel == mdPerspective) {
|
||||
for(int p: {1, 0, 2, 3}) {
|
||||
if(elliptic && p < 2) continue;
|
||||
glhr::set_depthwrite(true);
|
||||
if(p == 0 || p == 3) {
|
||||
#ifdef GL_ES
|
||||
glClearDepthf(1.0f);
|
||||
|
||||
Reference in new issue
Block a user