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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user