mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
fixed RawTexture not appearing
This commit is contained in:
parent
f68b216eb4
commit
ac6da6831d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user