43
43
** Fetch a double from potentially unaligned memory.
46
#define __GLX_MEM_COPY(dst,src,n) memcpy(dst,src,n)
46
#define __GLX_MEM_COPY(dst,src,n) memmove(dst,src,n)
47
47
#define __GLX_GET_DOUBLE(dst,src) __GLX_MEM_COPY(&dst,src,8)
49
49
#define __GLX_GET_DOUBLE(dst,src) (dst) = *((GLdouble*)(src))