WME3D: Removed packed flag, it's not needed

This commit is contained in:
Paweł Kołodziejski 2021-12-29 23:23:55 +01:00
parent 6b8b663e9d
commit e22f1a6cc4
No known key found for this signature in database
GPG key ID: 0BDADC9E74440FF7
4 changed files with 7 additions and 23 deletions

View file

@ -545,21 +545,17 @@ BaseSurface *Wintermute::BaseRenderOpenGL3D::createSurface() {
return new BaseSurfaceOpenGL3D(_gameRef, this);
}
#include "common/pack-start.h"
struct SpriteVertex {
float u;
float v;
float x;
float y;
float z;
uint8 r;
uint8 g;
uint8 b;
uint8 a;
float x;
float y;
float z;
} PACKED_STRUCT;
#include "common/pack-end.h"
};
bool BaseRenderOpenGL3D::drawSpriteEx(BaseSurfaceOpenGL3D &tex, const Wintermute::Rect32 &rect,
const Wintermute::Vector2 &pos, const Wintermute::Vector2 &rot, const Wintermute::Vector2 &scale,