1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-06 12:27:57 +00:00

fix hyperroid builds

- add cap guards where necessary
- adapt to new `shiftpoint` datatype and function interfaces thereof
This commit is contained in:
still-flow
2020-10-05 21:48:56 +03:00
parent 872301c7cf
commit a8691f0d8e
7 changed files with 15 additions and 5 deletions

View File

@@ -310,7 +310,7 @@ extern "C" void Java_com_roguetemple_hyperroid_HyperRogue_draw(MOBPAR_FORMAL) {
// text is drawn with 'textured'
dynamicval<eModel> p(pmodel, mdManual);
current_display->next_shader_flags = GF_TEXTURE;
current_display->set_all(0);
current_display->set_all(0, 0);
glhr::set_depthtest(false);
current_display->set_viewport(0);
current_display->set_mask(0);