Add header dependencies that prevented linux build
There were several files with dependancies on vector and cmath that caused compiler errors under linux. In addition, there was a printf formatting error that threw a compiler error as well
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include <llvm/ADT/BitVector.h>
|
||||
#pragma warning(pop)
|
||||
#else
|
||||
#include <cmath>
|
||||
#include <llvm/ADT/BitVector.h>
|
||||
#endif // XE_COMPILER_MSVC
|
||||
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#include <llvm/ADT/BitVector.h>
|
||||
#pragma warning(pop)
|
||||
#else
|
||||
#include <cmath>
|
||||
#include <llvm/ADT/BitVector.h>
|
||||
#endif // XE_COMPILER_MSVC
|
||||
|
||||
|
||||
@@ -240,3 +240,4 @@ class CommandProcessor {
|
||||
} // namespace xe
|
||||
|
||||
#endif // XENIA_GPU_COMMAND_PROCESSOR_H_
|
||||
|
||||
|
||||
@@ -184,4 +184,4 @@ GL4Shader* GL4ShaderCache::FindCachedShader(ShaderType shader_type,
|
||||
|
||||
} // namespace gl4
|
||||
} // namespace gpu
|
||||
} // namespace xe
|
||||
} // namespace xe
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
#define XENIA_GPU_GL4_SHADER_CACHE_H_
|
||||
|
||||
#include <cstdint>
|
||||
#include <vector>
|
||||
#include <cstring>
|
||||
#include <memory>
|
||||
#include <unordered_map>
|
||||
|
||||
@@ -57,4 +59,4 @@ class GL4ShaderCache {
|
||||
} // namespace gpu
|
||||
} // namespace xe
|
||||
|
||||
#endif // XENIA_GPU_GL4_SHADER_CACHE_H_
|
||||
#endif // XENIA_GPU_GL4_SHADER_CACHE_H_
|
||||
|
||||
Reference in New Issue
Block a user