summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h2
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 */