Fixed fix2float and fix10_2float macros for amd64 and emt64 CPUs.
This commit is contained in:
parent
1e76bf083e
commit
835a56593d
|
@ -32,8 +32,8 @@
|
|||
#include "OGLRender.h"
|
||||
|
||||
|
||||
#define fix2float(v) (((float)((signed long)(v))) / (float)(1<<12))
|
||||
#define fix10_2float(v) (((float)((signed long)(v))) / (float)(1<<9))
|
||||
#define fix2float(v) (((float)((s32)(v))) / (float)(1<<12))
|
||||
#define fix10_2float(v) (((float)((s32)(v))) / (float)(1<<9))
|
||||
|
||||
static unsigned char GPU_screen3D[256*256*4]={0};
|
||||
// Accelerationg tables
|
||||
|
|
Loading…
Reference in New Issue