- Fix data alignment issue with glReadPixel call, reported by Guillaume Bougard (#4954)
- Fix data alignment issue in raw AVI recording for weird resolutions (like 1366x768)
This commit is contained in:
parent
5769bed4a3
commit
6a203bc8e9
6 changed files with 170 additions and 66 deletions
|
@ -177,7 +177,8 @@ typedef int sfxHandle_t;
|
|||
typedef int fileHandle_t;
|
||||
typedef int clipHandle_t;
|
||||
|
||||
#define PAD(x,y) (((x)+(y)-1) & ~((y)-1))
|
||||
#define PAD(x,y) (((x)+(y)-1) & ~((y)-1))
|
||||
#define PADLEN(x,y) (PAD((x), (y)) - (x))
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define QALIGN(x) __attribute__((aligned(x)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue