mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 17:40:36 +00:00
removed incorrect CAP_TEXTURE guards
This commit is contained in:
parent
680a3cc867
commit
f0d04f6bc2
@ -464,12 +464,10 @@ void dqi_poly::gldraw() {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
if(tinf) {
|
if(tinf) {
|
||||||
#if CAP_TEXTURE
|
|
||||||
glhr::be_textured();
|
glhr::be_textured();
|
||||||
glBindTexture(GL_TEXTURE_2D, tinf->texture_id);
|
glBindTexture(GL_TEXTURE_2D, tinf->texture_id);
|
||||||
glhr::vertices_texture(v, tinf->tvertices, offset, offset_texture);
|
glhr::vertices_texture(v, tinf->tvertices, offset, offset_texture);
|
||||||
ioffset = 0;
|
ioffset = 0;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
glhr::be_nontextured();
|
glhr::be_nontextured();
|
||||||
|
Loading…
Reference in New Issue
Block a user