mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-13 15:56:00 +00:00
added set_depthwrite when clearing depth in spherical
This commit is contained in:
@@ -1511,6 +1511,7 @@ void draw_main() {
|
|||||||
if(sphere && DIM == 3 && pmodel == mdPerspective) {
|
if(sphere && DIM == 3 && pmodel == mdPerspective) {
|
||||||
for(int p: {1, 0, 2, 3}) {
|
for(int p: {1, 0, 2, 3}) {
|
||||||
if(elliptic && p < 2) continue;
|
if(elliptic && p < 2) continue;
|
||||||
|
glhr::set_depthwrite(true);
|
||||||
if(p == 0 || p == 3) {
|
if(p == 0 || p == 3) {
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
glClearDepthf(1.0f);
|
glClearDepthf(1.0f);
|
||||||
|
Reference in New Issue
Block a user