mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-28 17:36:36 +00:00
Fix linux build
This commit is contained in:
@@ -149,6 +149,7 @@ set(sources
|
||||
maths/camera.cpp
|
||||
maths/camera.h
|
||||
maths/formatpacking.h
|
||||
maths/formatpacking.cpp
|
||||
maths/half_convert.h
|
||||
maths/matrix.cpp
|
||||
maths/matrix.h
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
******************************************************************************/
|
||||
|
||||
#include "formatpacking.h"
|
||||
#include <float.h>
|
||||
#include <math.h>
|
||||
#include "common/common.h"
|
||||
|
||||
Vec3f ConvertFromR11G11B10(uint32_t data)
|
||||
|
||||
@@ -135,5 +135,7 @@ inline float ConvertLinearToSRGB(float linear)
|
||||
return 1.055f * powf(linear, 1.0f / 2.4f) - 0.055f;
|
||||
}
|
||||
|
||||
typedef uint8_t byte;
|
||||
|
||||
struct ResourceFormat;
|
||||
float ConvertComponent(const ResourceFormat &fmt, const byte *data);
|
||||
|
||||
Reference in New Issue
Block a user