1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-06 00:33:01 +00:00

fixed CAP_TEXTURE disabling

This commit is contained in:
Zeno Rogue
2018-01-05 17:30:03 +01:00
parent 5a183618db
commit 3fc196e0c0
3 changed files with 12 additions and 6 deletions

View File

@@ -3279,10 +3279,12 @@ int getSnakelevColor(cell *c, int i, int last, int fd, int wcol) {
void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
#if CAP_TEXTURE
if(texture::saving) {
texture::apply(c, V, 0xFFFFFFFF);
return;
}
#endif
qfi.shape = NULL; qfi.special = false;
ivoryz = isGravityLand(c->land);
@@ -5368,8 +5370,10 @@ void gamescreen(int _darken) {
darken = 0;
#if CAP_TEXTURE
if(texture::tstate == texture::tsAdjusting)
texture::drawRawTexture();
texture::drawRawTexture();
#endif
}
void normalscreen() {