1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-18 03:58:04 +00:00

adjusted mobile to the new system

This commit is contained in:
Zeno Rogue
2020-04-06 08:37:22 +02:00
parent 548f1d3c1e
commit 9a84dfb497
10 changed files with 47 additions and 27 deletions

View File

@@ -1965,7 +1965,11 @@ EX void draw_main() {
if(ray::in_use && ray::comparison_mode) {
glDepthFunc(GL_LEQUAL);
#ifdef GLES_ONLY
glClearDepthf(1.0f);
#else
glClearDepth(1.0f);
#endif
glClear(GL_DEPTH_BUFFER_BIT);
ray::cast();
}