Use EXT version of gl functions

This commit is contained in:
Jonas Kulla 2013-09-06 14:37:28 +02:00
parent ef6bacf201
commit abc927c91d
3 changed files with 19 additions and 19 deletions

View file

@ -519,7 +519,7 @@ void Bitmap::drawText(const IntRect &rect, const char *str, int align)
}
gState->bindTex();
TEX::uploadSubImage(0, 0, txtSurf->w, txtSurf->h, txtSurf->pixels, GL_BGRA);
TEX::uploadSubImage(0, 0, txtSurf->w, txtSurf->h, txtSurf->pixels, GL_BGRA_EXT);
TEX::setSmooth(true);
Quad &quad = gState->gpQuad();