mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 06:50:27 +00:00
added set_depthwrite when clearing depth in spherical
This commit is contained in:
parent
5330491876
commit
0c82bb64f0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user