mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-15 13:17:13 +00:00
removed incorrect CAP_TEXTURE guards
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user