1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

removed incorrect CAP_TEXTURE guards

This commit is contained in:
Zeno Rogue 2019-06-28 09:57:32 +02:00
parent 680a3cc867
commit f0d04f6bc2

View File

@ -464,12 +464,10 @@ void dqi_poly::gldraw() {
#endif
if(tinf) {
#if CAP_TEXTURE
glhr::be_textured();
glBindTexture(GL_TEXTURE_2D, tinf->texture_id);
glhr::vertices_texture(v, tinf->tvertices, offset, offset_texture);
ioffset = 0;
#endif
}
else {
glhr::be_nontextured();