EMI: Avoid using TIL-specific code for TGAs
This commit is contained in:
parent
4470144b83
commit
6cc1d9e6a0
1 changed files with 4 additions and 1 deletions
|
@ -807,7 +807,10 @@ void GfxOpenGL::createBitmap(BitmapData *bitmap) {
|
|||
|
||||
void GfxOpenGL::drawBitmap(const Bitmap *bitmap, int dx, int dy, bool initialDraw) {
|
||||
|
||||
if (g_grim->getGameType() == GType_MONKEY4) {
|
||||
// The PS2 version of EMI uses a TGA for it's splash-screen
|
||||
// avoid using the TIL-code below for that, by checking
|
||||
// numImages here:
|
||||
if (g_grim->getGameType() == GType_MONKEY4 && bitmap->_data->_numImages > 1) {
|
||||
glMatrixMode(GL_MODELVIEW);
|
||||
glPushMatrix();
|
||||
glLoadIdentity();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue