1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

fixed RawTexture not appearing

This commit is contained in:
Zeno Rogue 2019-03-12 02:43:00 +01:00
parent f68b216eb4
commit ac6da6831d

View File

@ -517,6 +517,8 @@ void texture_config::drawRawTexture() {
rtver[i].texture[1] = (inmodel[1]+1)/2;
rtver[i].coords[0] = x * current_display->scrsize;
rtver[i].coords[1] = y * current_display->scrsize;
rtver[i].coords[2] = 0;
rtver[i].coords[3] = 1;
}
glhr::set_modelview(glhr::translate(0, 0, current_display->scrdist));
glhr::prepare(rtver);