1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-14 20:57:10 +00:00

various changes and fixes to make coolfog and sky work correctly in VR

This commit is contained in:
Zeno Rogue
2021-03-09 13:12:53 +01:00
parent 9f5591249a
commit 56485f20a9
6 changed files with 44 additions and 32 deletions

View File

@@ -343,10 +343,6 @@ EX void setGLProjection(color_t col IS(backcolor)) {
glClearColor(part(col, 2) / 255.0, part(col, 1) / 255.0, part(col, 0) / 255.0, 1);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
#if CAP_VR
vrhr::clear();
#endif
GLERR("setGLProjection #1");
glEnable(GL_BLEND);