1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-30 09:17:57 +00:00

redesigned shader system

This commit is contained in:
Zeno Rogue
2019-10-21 22:34:20 +02:00
parent 7babf20ef4
commit 09fcd14aa7
13 changed files with 1310 additions and 1359 deletions

View File

@@ -669,7 +669,7 @@ void texture_config::drawRawTexture() {
rtver[i].coords[2] = 0;
rtver[i].coords[3] = 1;
}
glhr::set_modelview(glhr::translate(0, 0, current_display->scrdist));
glhr::id_modelview();
glhr::prepare(rtver);
glhr::set_depthtest(false);
glDrawArrays(GL_TRIANGLE_FAN, 0, 4);