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:
parent
680a3cc867
commit
f0d04f6bc2
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user