Use EXT version of gl functions
This commit is contained in:
parent
ef6bacf201
commit
abc927c91d
3 changed files with 19 additions and 19 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue