]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/spirvwriter.h
Use standard fixed-size integer types
[libs/gl.git] / source / glsl / spirvwriter.h
index fb5ec644d6ee68ee45f3460217f05135d20e5381..95db13c173ec11c819fe4ec5453546c67d82527d 100644 (file)
@@ -3,7 +3,7 @@
 
 #include <string>
 #include <vector>
-#include <msp/core/inttypes.h>
+#include <cstdint>
 #include "spirvconstants.h"
 
 namespace Msp {
@@ -12,7 +12,7 @@ namespace SL {
 
 struct SpirVContent
 {
-       typedef UInt32 Word;
+       typedef std::uint32_t Word;
 
        std::vector<Word> code;
        std::vector<Word> capabilities;