- 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:
Thilo Schulz committed 2011-04-18 16:06:10 +00:00
1 parent 5769bed4a3
commit 6a203bc8e9
6 files changed
+170 -66

No files matched your search

+2 -1
View File
@@ -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)))