]> git.cworth.org Git - apitrace/blobdiff - trace_write.hpp
Handle vertex attriv locations correctly.
[apitrace] / trace_write.hpp
index 1dfa46395aded5e258451251166b7814b4ed3bd9..8797e56f835c667dbd7754d70b8ef96891064e20 100644 (file)
@@ -30,6 +30,8 @@
 #ifndef _TRACE_WRITE_HPP_
 #define _TRACE_WRITE_HPP_
 
+#include <stddef.h>
+
 namespace Trace {
 
     typedef unsigned Id;
@@ -93,7 +95,7 @@ namespace Trace {
     void LiteralSInt(signed long long value);
     void LiteralUInt(unsigned long long value);
     void LiteralFloat(float value);
-    void LiteralFloat(double value);
+    void LiteralDouble(double value);
     void LiteralString(const char *str);
     void LiteralString(const char *str, size_t size);
     void LiteralWString(const wchar_t *str);