GRIM: this code is no longer actualy

This commit is contained in:
Pawel Kolodziejski 2014-07-03 20:50:52 +02:00
parent eddf1f62a4
commit 613d15eeab

View File

@ -814,11 +814,6 @@ void GfxTinyGL::drawModelFace(const Mesh *mesh, const MeshFace *face) {
} }
void GfxTinyGL::drawSprite(const Sprite *sprite) { void GfxTinyGL::drawSprite(const Sprite *sprite) {
// HACK: TinyGL doesn't support blending well, but atleast we can skip completely
// translucent sprites:
if (_alpha <= 0.0f) {
return;
}
tglMatrixMode(TGL_TEXTURE); tglMatrixMode(TGL_TEXTURE);
tglLoadIdentity(); tglLoadIdentity();
tglMatrixMode(TGL_MODELVIEW); tglMatrixMode(TGL_MODELVIEW);