diff options
author | Alex Deucher <alex@samba.(none)> | 2008-02-23 19:06:30 -0500 |
---|---|---|
committer | Alex Deucher <alex@samba.(none)> | 2008-02-23 19:06:30 -0500 |
commit | d9be9f34b0d3313e7b22b2a8bb0a8924ad3116bf (patch) | |
tree | 4dd3416086a3dc9b063bd8b245be973cd9fd903f /src/radeon.h | |
parent | 9dc4acad79196e9d5d94dd710773bfa83456d47f (diff) |
RADEON: add textured video support for r1xx-r4xx radeons
Based on the kdrive ati video code by Eric Anholt.
R3xx/R4xx still have some clipping issues in certain situations
Diffstat (limited to 'src/radeon.h')
-rw-r--r-- | src/radeon.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon.h b/src/radeon.h index 7d63f282..aba3c0f2 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -184,6 +184,8 @@ typedef enum { * for something else. */ +#define xFixedToFloat(f) (((float) (f)) / 65536) + #define RADEON_LOGLEVEL_DEBUG 4 /* for Xv, outputs */ |