mirror of
https://github.com/XProger/OpenLara.git
synced 2025-01-17 21:09:00 +01:00
fix loading screens for TR3
This commit is contained in:
parent
498c815e20
commit
4fff11b74e
@ -298,10 +298,10 @@ struct Texture : GAPI::Texture {
|
||||
stream.read(height);
|
||||
stream.seek(2);
|
||||
stream.read(bpp);
|
||||
stream.seek(4);
|
||||
stream.read(size);
|
||||
stream.seek(8);
|
||||
stream.seek(offset - stream.pos);
|
||||
|
||||
size = width * height * bpp >> 3;
|
||||
uint8 *data = new uint8[size];
|
||||
stream.raw(data, size);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user